Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error during execution of QTP script
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Ankur,
I found very interesting and helpfull tips here but this time it seems a little bit hard for me to find the answer on my own.
My scripts purpose is to fullfill a .xls file (OK/KO) while testing its values with those that appear on a website.

I have a "General run error" = 2147467259 when any of these 2 statements are executed :
1)
Code:
Chaine = cElements(0).GetROProperty("innertext")
with
Set wElement=Description.Create()
wElement("micclass").Value="WebElement"
wElement("class").Value="PSSRCHEDITBOXLABEL"
Set cElements=Browser().Page().PSFrame().ChildObjects(wElement)

2)
Code:
Chaine = cComps(n).GetROProperty("innertext")
with
Set cComp=Description.Create()
cComp("micclass").Value="WebElement"
cComp("class").Value="PSTEXT"
Set cComps=Browser().Page().PSFrame().ChildObjects(cComp)

The error seems to happen when about 9000 lines from my xls file are processed, which make me think to some kind of overflow/memory error.

Could you (or anyone here) help me with this ??
Thanks in advance
Alain
Reply


Messages In This Thread
RE: Error during execution of QTP script - by Vandembergue - 03-29-2010, 09:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to catch the script execution when QTP scripts are executed from command line Sreeni.lutukurthy 0 2,938 03-19-2015, 05:55 PM
Last Post: Sreeni.lutukurthy
  vb script to stop execution of functions if conditions fail visitjaga 1 7,380 12-05-2013, 12:26 AM
Last Post: ravi.gajul
  .vbs script error when trying to insert a value in a sapguitable frebuffi 5 6,843 07-18-2013, 03:04 PM
Last Post: Staff
  Speed issues on script execution (First Post) martinshort 4 3,287 07-03-2012, 03:02 PM
Last Post: martinshort
  Error while creating object using description.create object in VB script SarodeGirish 5 6,250 06-19-2012, 05:30 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 2 Guest(s)