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

What are the disadvantages of recording test cases in qtp?

591


What is the difference between analog and low level recording?

614


How to check feasibility of the appliction?in automation testing?

1469


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1524


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2347






I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1718


How can you send user defined messages to test report?

579


whare exactly we have to use functions and sub routain

1840


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

580


What is optional step in qtp? How you can add optional step in qtp?

526


Explain about the test fusion report of quicktest professional (qtp)?

535


If I change the property value at runtime is it effect is object repository?

602


diff between qtp versions from 8.5

1563


Explain the use of action split in qtp?

560


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1424