Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
open new window
#1
Solved: 12 Years, 10 Months, 3 Weeks ago
This is my script ....
it gives pass result but Browser("dft").Page("xyz") page does not open

Code:
url_Value=Browser("abc").Page("qtp").Link("Movies").GetRoProperty("href")
if len(url_Value)>0 then
Browser("abc").Page("qtp").Link("Movies").Click
wait(2)
If Browser("dft").Page("xyz").Exist Then
Reporter.ReportEvent micPass,"Pass","valid link"
else
Reporter.ReportEvent micFail,"Fail","invalid link"
End If


Thanks
sia
Reply


Messages In This Thread
open new window - by sia sharma - 07-19-2012, 06:21 PM
RE: open new window - by sshukla12 - 07-20-2012, 10:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,838 06-05-2014, 08:18 PM
Last Post: sbkhbk
  When QTP is open am not able to open my AUT. chetan3987 2 3,588 02-12-2014, 01:18 AM
Last Post: supputuri
  qtp 11 not recording window within a window kp_usa 0 2,618 12-19-2012, 10:52 PM
Last Post: kp_usa
  QTP Opens a popup window but won't recognize the buttons in the window Blaster0007 4 8,638 07-20-2012, 12:03 AM
Last Post: sree.85
  new window open with report during a recording session? fieldsje 0 1,646 04-23-2008, 01:23 AM
Last Post: fieldsje

Forum Jump:


Users browsing this thread: 1 Guest(s)