Posts: 41
Threads: 11
Joined: Jun 2012
Reputation:
0
06-19-2012, 07:42 PM
I have created a script that automates the registration form process and when i debug the script it works perfectly fine. but when i try to execute the scripts it fails,actually there is a web Button which navigates to other page after generating a click event, But it does not do the same, can somebody help me out, thanks in advance
Posts: 41
Threads: 11
Joined: Jun 2012
Reputation:
0
06-20-2012, 03:13 PM
Hey Ravi Thankx for the reply but my problem still exist. It behaves the same way as it was behaving earlier... Now again it is working fine when i am debugging the script but fails during run time, During Run time it executes the button click event and it directly goes to next line and start searching for the next object which is present in the next page, but it cannot finds that because the page is not navigated...
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
06-20-2012, 03:17 PM
Looks like this is a synchronization issue if the click event is executed.Please use "synchronization" technique or introduce some wait time before the script actually executes the next line.Let me know your observation.
Posts: 41
Threads: 11
Joined: Jun 2012
Reputation:
0
06-20-2012, 03:44 PM
I have already used the wait time after the button press but nothing happens, but why did u said, that i should use wait before the word press
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
06-20-2012, 04:02 PM
Could you please post the html properties of the button?It must be a typo if I have asked you to use wait before word press.But I assume you got it right.
Posts: 41
Threads: 11
Joined: Jun 2012
Reputation:
0
06-20-2012, 04:38 PM
yes it worked fine when i inserted the wait before the button press, but how did it worked is a new question aroused in front of me
Posts: 41
Threads: 11
Joined: Jun 2012
Reputation:
0
06-21-2012, 01:04 PM
Hey guys thanks for your quick reply