w r p syed then output was deys and click eysd and click ysde
and click sdey and click deys and click eysd............
Answers were Sorted based on User's Feedback
x=Inputbox("Enter a String:")
l=len(x)
y=strreverse(x)
msgbox y
do until i=2
k=right(y,l-1)&left(y,1)
msgbox k
y=k
loop
| Is This Answer Correct ? | 3 Yes | 0 No |
I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?
Write a Script for ATM in QTP
how to comvert 120 into one hunderd twenty rupees only and vice varsa
What is event handling in vbscript?
How to insert snapshot during manual scripting in QTP?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
how to organize files in object repository of qtp
What is the output of a + b in vbscript if a = 5 and b = 10?
how to write function to validate the number of characters entering into the text box?
My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?