in login module login button chage regularly(means login
button change to submit button).What is the code for it.
Answer Posted / ramchandra patil
Hi,
If the buttons label changes from login to submit then u can use descriptive programing by creating object without using label property. U can use below code.
Set objButton=description.create
objButton("micclass").value="webbutton"
objButton("name").value="namepropertyvalue"
Browser("").page("").webbutton(objButton).click
Pls let me know if u have ny doubt...
Ram
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you create regression test packs?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
Whats the realtime QTP testing process
What is ‘object spy’ and what is the function of object spy in qtp?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
what are the limitations of smart identification in qtp 9.0
How do Parameterization and Data-Driving relate to each other in QTP?
How to release all resources file from the QTP?
What are output values and why they are used ?
Can we create a qtp test from qc?
What are the types of object repository?
Is it possible to merge two object repository files in qtp?
Is it possible to change the values of analog recording?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?