Micro Focus QTP (UFT) Forums
General run error!? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: General run error!? (/Thread-General-run-error)



General run error!? - QADBA - 08-07-2008

Hello @all,

i've got a new problem. Hope someone is able to help me.

A few days ago i have recorded a script (QTP 9.5) and it was working, no problems. Then today i replay this script and a general run error occurs.

It happens on the following line:
Browser("Website").Back

The same problem occurs if record the code again.
I don't know why the code does't work anymore.

Thanks in advance,
QADBA


RE: General run error!? - siri - 08-08-2008

Hi,

This General run error occurs soemtimes when we try to run a recorded script once try to record the same applicaotn again and run you dont get that error


RE: General run error!? - anemuday - 08-08-2008

Hi,

The problem may be because of the Object recongnized may be changed at the Browser level.

Observe the OR and click on the "Highlight in application". If the object exists in the application, then there could be a problem with the tool.

If the object doesnt exist, add that object into OR and write the script which reflects the new object and run the script.

Regards,
Uday.


RE: General run error!? - QADBA - 08-08-2008

Usually, if i record something, the objects wil be added to the OR.
But in this case this ojcect (ToolbarWindow32) doesnt exist. So i added the object to the OR, but nothing happens. I got the same error again.

Sometimes the tool seems to be very strange. In an other case i'm recording. I type a new url in the address bar, but nothing is scripted.
If i type Browser("Mysite").Navigate "www.google.com" manually and run the script, the tool passes the line, but the browser still remains on the first page. No navigation.


RE: General run error!? - somisays - 08-08-2008

Hi,
Read the attached document.


RE: General run error!? - anemuday - 08-11-2008

Hi,

Even i am facing strange behaviour, when i use Browser("browser").navigate("www.yahoomail.com")

While executing, the script is not navigating to Yahoomail. It just simply bypass that step, without executing the step.

Please let me know, how to overcome this.

Thanks in advance,
Uday.