How to identify an object which is not in the object repository

By creating the object description object and read its contents by childItem method

Questions by madhavi.agastya

Showing Answers 1 - 15 of 15 Answers

suresh babu

  • Dec 5th, 2006
 

By using descriptive programme

  Was this answer useful?  Yes

praveen Yarlagadda

  • Dec 12th, 2006
 

By using Descriptive programming we can  identifying the object with out object repository

  Was this answer useful?  Yes

Nadeem Sharifuddin

  • Dec 19th, 2006
 

Identification can be done using descriptive programming.

Here is example # 1 with description object.

set EditDesc = Description.Create()

EditDesc("Name").Value = "userName"

EditDesc("Index").Value = "0"

Browser("Welcome: Mercury").Page("Welcome: Mercury").WebEdit(EditDesc).Set "MyName"

Here is example # 2 with out description object.

Dialog("text:=Login").WinEdit("window id:=3001","attached text:=Agent.*").Set "john"
Dialog("text:=Login").WinEdit("window id:=2000","attached text:=Password:").Set "mercury"
Dialog("text:=Login").WinButton("text:=OK").Click

These both method will be used in expert view to identify object with out object avaialble in object repository.

Nadeem.

  Was this answer useful?  Yes

Anil Pal

  • Jan 8th, 2007
 

Hi ,

you can identify using descriptive programming using the object physical properties.

for Eg.

Use spy to see what are the properties of the object.

msgbox Browser("name:=browsername").page("title:=pagetitle").webedit("html tag := INPUT", "name:=user").exist

Running this statement will give you true or false.

I hope it helps you.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions