11-03-2011, 02:46 PM
Hi Oleg,
Never use co-ordinates as a description for your object.
Please add the object to Reporsitory and use regular expression.. finally u can use the below code..
Do let me know if u have any query.
Regards,
Ankesh
Never use co-ordinates as a description for your object.
Please add the object to Reporsitory and use regular expression.. finally u can use the below code..
Code:
'Get the value
UW_Number=Browser("PegaRULES Process Commander").Page("PegaRULES Process Commander").Frame("FORMFRAME").WebElement(<Name of the Object addedd to repository>).GetROProperty("innertext")
'Set the value
Browser("PegaRULES Process Commander").Page("PegaRULES Process Commander").Frame("leftFrame").WebEdit("WebEdit").Set UW_Number
Do let me know if u have any query.
Regards,
Ankesh