Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
descriptive programming- object description
#2
Not Solved
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:
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
Reply


Messages In This Thread
RE: descriptive programming- object description - by KavitaPriyaCR - 11-23-2010, 09:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,959 04-25-2019, 08:17 PM
Last Post: Ankur
  UFT Tool support with Descriptive programming laks 1 1,803 07-05-2018, 05:31 PM
Last Post: Ankur
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,842 06-07-2017, 01:41 PM
Last Post: Ankur
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 3,095 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP
  Inserting variable values into Descriptive Programming Functions eske99 2 3,521 12-18-2015, 01:47 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)