how do you run scripts in QTP?please anyone can answer my
questions
Answer Posted / dipu krishnan
Ram,
Clicking the run button on top runs the script.
>*>*>*>*
Under the Automation tab we have an item "Record and Run
Settings". In this we are having two tabs ,Web and Windows.
I will go with Web for now.
On the Web tab you can find the radial buttons:-
> Run on any open Browser.
> "Open the following address" with an text box for
entering the URL.
While you click the record button with the first
selection ,what qtp is going to do is that ,it Record the
script based on action performed on any browser which is
open.
While you click the run button with this selection,qtp
performs the run on any of the open browser that is open.If
no browser is open then the test won't run.
-------
While you click the record button with the second
selection ,what qtp is going to do is that ,it launches a
new browser with the entered url in the textbox.Scripts are
recorded based on action performed on this browser which
qtp had opened.
While you click the run button with this selection,qtp
launches a new browser with this url and runs the script.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of parameters are there?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
is it possible to add sheets to excel at runtime
Explain how you can find the absolute value of the number in qtp?
How can I change object description or check point values in qtp?
please post the interview questions for QA position in FACTSET
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
How can you pass value one action to another action?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
why text area checkpoints cannot used for web applications
Why is action split used by qtp?
What is parameter in qtp?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
Explain how you can delete excel file in qtp?
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next