Dear Friend, I am New in QTP 10 so can any one tell me how
to do QTP testing on WEB APPLICATION while writing
VBScript. If Possible then Give Example how to write
vbscript in QTP to test WEB Apllication.
Vishal Patil
Answers were Sorted based on User's Feedback
Answer / siva krishna
HI this is very east to write the scripts in qtp 10.0 and
onething whatever the version is but the concept of writing
the code is same.Here in this we can write the script for
web page is like
systemutil.run"www.google.com"
Browser("name").Page("name").WebEdit("text").set"name"
Browser("name").Page("name").WebButton("type").click
after this the google page opens.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sri
Hi
first u know diff b/w 9.5 and 10,Compair to previous version
is very easy,u have face any problem reach to me me
t.srinu25@gmail.com
| Is This Answer Correct ? | 0 Yes | 4 No |
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
Why we are selecting QTP for testing ?
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
What is the difference between QTP 8.2 and QTP 9.2
Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone
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
What issues come up in test automation, and how do you manage them?
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
How to recognise the webelement and verifying that webelement is enabled?
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result
How can we make a shared object repository in QTP 9?
3 Answers Kanbay, Ordain Solutions,