in login module login button chage regularly(means login
button change to submit button).What is the code for it.

Answers were Sorted based on User's Feedback



in login module login button chage regularly(means login button change to submit button).What is t..

Answer / 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

in login module login button chage regularly(means login button change to submit button).What is t..

Answer / guest

1.Suppose some point of time ,test engineer will come to know,"login" button name changed to "submitt",then test engineer can intimate developer,if any changes are made by developer,it will affect testing also. we can request developer,if developer makes changes for the old fucntionalities,could u plz inform testing team?
according test enginner can change in the script.
2.If any button names are changed by developer,developer will intimate automation test engineer regarding about any changed made to object name usually.

Is This Answer Correct ?    0 Yes 0 No

in login module login button chage regularly(means login button change to submit button).What is t..

Answer / shekhar

If name property keeps on changing then we can go with other
properties except name .You can take Html Id and use
descriptive programming as it used in the first post.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?

2 Answers  


What is Automation frame work.How we will prepare in real time.

9 Answers   AppLabs,


Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)

2 Answers   IBM,


Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  


How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


Differentiate the type of test cases which can be automated and which cannot be automated?

0 Answers  


Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


We are calling Actions in Expert View by using Run Action.but i want to know where we are saving the Actions Scripts.Pls explain??

1 Answers  


What are private functions in QTP? How they can be called from the function library?

0 Answers   HCL,


can we call a test in another test? how? explain with one example?

1 Answers   iFocus,


how to re-install QTP 9.0 trial version.

25 Answers  


Categories