Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How to Test Dynamic links ?




296
views
asked marvit August 29, 2014 08:37 AM  

How to Test Dynamic links ?


           

1 Answers



 
answered By Dharma   0  
Script for Test Dynamic Links

  Browser(“Some site”).Page(“Some page”).Link(“Search”).Click

  Browser(“Some site”).Page(“Some page”).Check CheckPoint(“Some page”)

  Browser(“Some site”).Page(“Some page”).WebEdit(“search criteria”).Set “QTP”

  Browser(“Some site”).Page(“Some page”).WebButton(“Search”).Click

  Set myLink =Browser(“Some site”).Page(“Some page”).WebTable(“SearchResults”).ChildItem(2, 4, “Link”, 0)

  wait(2)

  myLink.click

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert