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


Please Help Members By Posting Answers For Below Questions

How many add-ins comes by default with quicktest professional (qtp)?

778


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1700


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3148


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1817


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

772


What does it mean when a check point is in red color? What do you do?

809


Have you used xml check point in your project? How?

767


how to acess a test in RSA?

1900


How to use checkpoints in qtp ?

781


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1951


How QTP support all types of applications (platforms)?

4279


How to use output values in qtp ?

749


Why do we use breakpoints in QTP?

820


What is the XML file architecture ?

1783


How to find array size in qtp?

781