Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to identify an object which is not in the object

repository identification can be done using descriptive

programming.

Answer Posted / sreeprasad

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

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP record on Objects created on XWindows Environment?

2136


How to handle Java tree in QTP?

1258


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1742


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1901


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

6122


What is the file extension of the code file in qtp?

930


What is 'sleep' in sync point?

1043


Does quicktest professional (qtp) is unicode compatible?

962


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1950


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1920


Explain about datafile/verification of date file when file is not available in local system?

2670


How to create runtime property for an object?

1913


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2344


How you can find length of array in qtp?

951


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

979