Hai Guys,
can anybody show me how to write automaed test cases using
VB scprit(examples)...i had an interviw soon...please guyz
send as quickly as possible
Answers were Sorted based on User's Feedback
Answer / jsvidya
what Mr.patil..
if u know the ans & u want to share just post the
answer.this site is meant for people who r seriously
preparing for interviews.....not for playing games.if u r
feeling as a master in QTP SHOW ur knowledge in answering
not in posing.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / patil
If you tell me to which company interview you are going to
attend, then I will tell all those complex things in a very
easy manner.
Test cases should be written based on the
AutomateTestPlan.Doc.
If it is Keyword driven, people built an .xls file.
Put Case to run reusable actions.
Based on the Case, some Action will be called.
They should use Parameters to send information from one
Action to another.
They use, Envi.Vari to store things like URL etc.
There shoudl a Master Test case, from where the peopel call
all other Reus.Actions.
If you give the details of org., will write more about
these complex things.
Babu Rao Patil.
Jai Ganesh Maharaj Ki...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sowji
Hai ,
Thank you your Ans
The company is sahbre holdings(USA),so please genereally
how the process is start...one example of test case using
vbscript....
That would great help to me
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sfs
First one must decide which part should be automated.
Majority tell that no applic can be automated 100%.
Auto test plan should created.
Test cases should write.
First,should perform Manual testing. Based on manual
testing process, write vb auto scripts.
1.Record
2.Enhance script: write functions, divide actions into
reusable actions.
3.Run scripts
| Is This Answer Correct ? | 0 Yes | 0 No |
Where is the Bitmap checkpoint information stored?
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
what is key word driven frame work how to use keyword driven frame in QTP in a project
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
What is your role and responsibilities in QTP with your current organization?
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position
Which scripting language used by QTP?
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
Use of Multiple Actions in QTP?
What is an Custom Object in QTP ?