08-05-2010, 11:44 AM
Hi sreekanth,
Thanks you very much for your replay. I followed the steps suggested by you but still the issue has n't been resolved.
In your 3 steps, you said to write the code for clicking on signout. But unfortunately the code fails at this point only. You could have mentioned the code . I have mentioned the code i used to click on signout button(with framename and without frame name).
However i tried the following and it started working. Please let me know if this is the correct way of automating.
Steps:
step 1 and step2 u mentioned are useful
step3: Go to object repository (OR) and select the frame which contains the signout link( The frame name will be shown something like this "c143afasq43"). Add the name property in the object properties by clicking on + sign and selecting the name property.(if name property already exist then ignore adding it).
Step4. Click on name property in the object property and observe the <#> sign. Value configuration properties popup will be displayed. Check the regular expression check box. In the constant text box enter c.* (framename always start with c). Click ok
step5. Now in the expert view , write the code to click on signout link, like below.
Note that i have given the framename which was captured during recording. But in the object properties we have given it as c.* . So even when the frame name changes the test will pass.
Let me know if this is the correct way to solve this issue.
Thanks
krish
Thanks you very much for your replay. I followed the steps suggested by you but still the issue has n't been resolved.
In your 3 steps, you said to write the code for clicking on signout. But unfortunately the code fails at this point only. You could have mentioned the code . I have mentioned the code i used to click on signout button(with framename and without frame name).
However i tried the following and it started working. Please let me know if this is the correct way of automating.
Steps:
step 1 and step2 u mentioned are useful
step3: Go to object repository (OR) and select the frame which contains the signout link( The frame name will be shown something like this "c143afasq43"). Add the name property in the object properties by clicking on + sign and selecting the name property.(if name property already exist then ignore adding it).
Step4. Click on name property in the object property and observe the <#> sign. Value configuration properties popup will be displayed. Check the regular expression check box. In the constant text box enter c.* (framename always start with c). Click ok
step5. Now in the expert view , write the code to click on signout link, like below.
Code:
Browser("brwname).Page("pagename).Frame("c143afasq43").link("Sign out").click -9999, -9999
Let me know if this is the correct way to solve this issue.
Thanks
krish