One build is delivered. in that build button name is submit.
but in the next buit that name of the button changed as
login.are u continue with previous recorded script or u
make any changes?

Answer Posted / chakrapani

use desciptive programming to identify the object using
property names and its values.

Eg:
browser("Myyahoo").Page("dfdfds").Webbutton
("name:=gfgf").Click

name:=gfgf this can be retrieves using object spy.
even though in further builds the logicla name changes this
will work fine

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we do the frame work in qtp

1800


How often were they executed?

2232


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1970


How to find the name of the machine where you are running your automation scripts in qtp?

754


On what document base Descriptive programming is written if build is not yet ready ?

1108


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1998


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1630


what is test scheduleling?

2243


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1795


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1854


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1795


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1653


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1676


What is a data driven test in qtp?

783


If object is not recognized by qtp but the object is standard object what is your approach?

793