how to export the result to notepad....for example i want to
enter the user name and pass word and clicking on login
button ......once you click on login button the
corresponding page will open ...in that page you having one
list box ...here you can get either success or failure
........friends here i want export the message what ever i
got either success or failure .....how to export the result
to note pad
Answer / acharya
By Using RO property we can get the value, whether its a success or a failure..and save the value in a variable..
and write a code to open the notepad and append the value stored in a variable in notepad
| Is This Answer Correct ? | 1 Yes | 0 No |
does test plan is in test strategy or test strategy is in test plan
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
What are the advantages of qtp?
If some requirements r changed during the testing process ,then how can u handle this in frame work?
how to merge object repositories?
Differentiate the type of test cases which can be automated and which cannot be automated?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?