11-23-2010, 09:57 AM
(This post was last modified: 11-23-2010, 09:58 AM by KavitaPriyaCR.)
Hi
I think you will find information about descriptive programming in this forum, as it is discussed earlier.
For this scenario, You can write the DP as below
'Describe button as:
I think you will find information about descriptive programming in this forum, as it is discussed earlier.
For this scenario, You can write the DP as below
'Describe button as:
Code:
set oCancel=Description.Create
oCancel("micclass").Value="WebButton"
oCancel("name").Value="Cancel"
oCancel("value").Value="Cancel"
oCancel("html id").Value="btnCancel"
Set WebEdits=Browser().Page().ChildObjects(oCancel)
'Now Click on that button
WebEdits(0).Click