10-28-2009, 11:57 AM
Hi,
Saket,
Thanks for your help. I solved my issue by seeing your way.
But iam facing another problem that is, iam trying to pass a value in an webedit box. Now to pass a value in an edit box i have to check a webelement, for example if the webelement will display the records which is relevent to the given value in the webeditbox.
Here am trying to select the row from the webelement, but i am not able to select exact webelement from the existing rows. But for one value in the webeditbox is executing successfully.
When I parameterised the webeditbox but i could not parameterise the webelement,because when i select exact webelement from the existing rows, it is displaying the same record for every value where i given in webeditbox.
I checked the OR there webelement is placed by perticular selected value.
Code is
Can you please suggest me what i need to do.
Regards
Laxmi
Saket,
Thanks for your help. I solved my issue by seeing your way.
But iam facing another problem that is, iam trying to pass a value in an webedit box. Now to pass a value in an edit box i have to check a webelement, for example if the webelement will display the records which is relevent to the given value in the webeditbox.
Here am trying to select the row from the webelement, but i am not able to select exact webelement from the existing rows. But for one value in the webeditbox is executing successfully.
When I parameterised the webeditbox but i could not parameterise the webelement,because when i select exact webelement from the existing rows, it is displaying the same record for every value where i given in webeditbox.
I checked the OR there webelement is placed by perticular selected value.
Code is
Code:
Browser("Combined website testing").Page("Combined website testing").Link("Login as intermediary").Click
Browser("Combined website testing").Dialog("Explorer User Prompt").WinEdit("Enter an intermediary").Set "101010"
Browser("Combined website testing").Dialog("Explorer User Prompt").WinButton("OK").Click
Browser("Combined website testing").Dialog("Windows Internet Explorer").WinButton("OK").Click
Browser("Combined website testing").Page("Page").Frame("menu").Link("Investment hub").Click
Browser("Client maintenance -selection").Page("Client maintenance -selection").WebElement("Quote").FireEvent("ONMOUSEOVER")
Browser("Client maintenance -selection").Page("Client maintenance -selection").WebElement("Create new quote").Click
Browser("Investment Hub").Page("Investment Hub").Frame("Frame").WebRadioGroup("ctl00$PageContent$Clients").Select "rbExistingClients"
Browser("Investment Hub").Page("Investment Hub").Frame("Frame_2").WebEdit("WebEdit").Set "ANTHONY"
Browser("Investment Hub").Page("Investment Hub").Frame("Frame_2").WebElement("ANTHONY").Click
Browser("Investment Hub").Page("Investment Hub").Frame("Frame_2").WebButton("Next >>").Click
Can you please suggest me what i need to do.
Regards
Laxmi