Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two dialog box issues
#1
Not Solved Toungue 
Hi everyone,

I have two dialog boxes. Each are exactly the same other than a few different objects on them. My code finds one of the dialog boxes and it's objects perfectly, but the other not at all. oSpy tells me that the obects and everyting are of both are the same path (Browser("Preferences").Page("Preferences")) and are in my OR.

How can I get QTP to see both of my dialog boxes in the same way?

Plz see my attachment for more info.

Any ideas? ;-)


Attached Files
.pdf   Issue with 2 open browsers.pdf (Size: 105.64 KB / Downloads: 145)
Reply
#2
Not Solved
Code:
Browser("Preferences").Page("Preferences").Exist(5)
The above mentioned line of your script should in a condition like under a if-else statement.
Reply
#3
Not Solved
Yea, i just was trying to get to see if it would see it. Yes, it should be in an If-Then... Thx for ur look-cee. ;-)
Reply
#4
Not Solved
I am still having issues why sometimes my popup dialog box is being found, and other times the similar dialox boxes is not seen.

Attached I placed my thoughts. Hopefully someone has had this issue and can help me find a solution. Its just crazy that some dialog boxes are seen while others are not.

thx for any ideas.


Attached Files
.pdf   Issue with 2 open browsers 3.pdf (Size: 170.6 KB / Downloads: 130)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Automating save dialog box in windows using UFT shipu 0 4,800 01-16-2015, 07:54 PM
Last Post: shipu
  Performance Issues Using '.Exist' AndyBSG 2 3,569 12-12-2014, 03:24 PM
Last Post: AndyBSG
  QTP 11 - Chrome 24. Dialog box is identifying as Win object. Kannan R 0 3,111 08-13-2013, 08:10 PM
Last Post: Kannan R
  Dialog box differs on different browsers version (IE7 and IE9) for same application visitjaga 1 2,850 12-07-2012, 05:14 PM
Last Post: Ankesh
  QC Install issues manisun 0 11,168 08-15-2012, 02:01 AM
Last Post: manisun

Forum Jump:


Users browsing this thread: 1 Guest(s)