my webpage bottom we have page no as link like 1,2,3,4,5....
while recording its generating the scrip, after replaying also its working. i.e its clicking the page links one by one.
But next round of replaying its not runnning, directly its cliking the 3 link or 4th link...like tat
Note: Some times its running n sometimes its not running.
Please suggest me...
Please see the sample code:
<font class="small">Code:</font><hr /><pre>Set oDesc = Description.Create()
oDesc("micclass").value = "Link"
set oDesc =Browser().Page().ChildObjects(oDesc)
For i= 0 to TotalLinks-1
Next </pre><hr />
i have never seen bugs sleeping
This code is not working... Please send the correct code
Sorry, Its Working Fine.But my prob is why its cliking some time n why its not clicking sometime.
What error message you got?
If is it dynamically changed link, how script will work? Clicking links will lead application to a new page, confirm yourself where subsequent links are available.
Confirm your application and script flow.
Senthil, you need to learn breakpoints and debugging so you can trace the logical flow through your script.
Try not to throw accusations around about code not working when that code was supplied free by someone with limited spare time.
For an easy to use test automation framework, checkout my website: