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
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
Tell me one scenario, the complex functionality you have automated in your project?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
What are metrics and matrix?
How can I check if a environment variable exist or not?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Can we write winrunner language i.e TSL in QTP tool?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What is the architecture of your project? Can any one answer for this question plz........
How to write business scripts using object repository with different scenarios
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
Write a script to customize the test results in PDF and HTML format.