I how to test web application in which the value is changing dynamic every time can any one can modify the script ?Dim iBrowser("WMC Pricing System").Page("WMC Pricing System").Link("Scrub Queue").ClickBrowser("WMC Pricing System").Page("Scrub Queue - Search").Link("Summary").ClickBrowser("WMC Pricing System").Page("Scrub Queue - Search_2").SyncBrowser("WMC Pricing System").Page("Scrub Queue - Search_2").Check CheckPoint("(0-9)(0-9)(0-9)") Browser("WMC Pricing System").Page("Scrub Queue - Search_2").Link("238").ClickBrowser("WMC Pricing System").Page("Scrub Queue - Prices -").SyncBrowser("WMC Pricing System").Page("Scrub Queue - Prices -").Check CheckPoint("236") modify the value which is dynamic changingfor i= 1 to nBrowser("WMC Pricing System").Page("Scrub Queue - Prices -").Link("99P10925").Click modify the value which is dynamic changingBrowser("WMC Pricing System").Page("Page").WebRadioGroup("action").Select "approve"Browser("WMC Pricing System").Page("Page").WebButton("Save").ClickBrowser("WMC Pricing System").Dialog("Microsoft Internet Explorer").WinButton("OK").ClickBrowser("WMC Pricing System").Page("Page_2").WebButton("Back to Summary View").ClickBrowser("WMC Pricing System").Page("Scrub Queue - Prices -_2").Syncnext

Showing Answers 1 - 1 of 1 Answers

ram

  • Aug 20th, 2006
 

With the help of recovery scernario you can overcome this problem.  Or, one can use descriptive programming.   Instead of logical name of the object, use abs x and abs y properties to identify the object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions