Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
objects sometimes recognized and sometimes not
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
I am running QTP which opens a browser that has a place to enter login and password (similar to the flight demo). I added the boxes to the repository and put them into my QTP script (enter text in theusername box, enter text in the password box, and click login).

Sometimes when I run it it works fine.
Other times when I run it it says it can't find the objects (in runtime).
This happens with other objects to. A popup window somes up and
I can click buttons on it one time, and the next time the objects aren't
recognized.

In the case with the login, I don't know what is going on. Object spy seems to identify the objects, and the web site has not changed.

For the popup window one thing I noticed is sometimes an object is
called browser("xALIWeb").page("report") and then other times it might be called browser("xALIWeb").page("report_2") or even
browser("xALIWeb_2").page("report")

Why would boject names change like this? And what is happening with the login? It is only one page.
Reply


Messages In This Thread
objects sometimes recognized and sometimes not - by bistritapcv - 04-12-2013, 08:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Telnet command not recognized Sanjana1987 1 2,060 09-20-2017, 03:16 PM
Last Post: Ankur
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,535 05-27-2015, 06:29 PM
Last Post: akhandesh
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 7,884 01-23-2015, 02:36 AM
Last Post: lkng2001
  IE Tester feature not recognized by UFT12.01 saraiado 2 2,758 12-23-2014, 09:41 AM
Last Post: vinod123
  Browser object recognized as "Window" in google chrome version 24 pradeep singh 6 10,989 08-08-2013, 03:46 PM
Last Post: Kannan R

Forum Jump:


Users browsing this thread: 2 Guest(s)