How to call .vbs funtion , Library files in QTP? plz
Explain indetail(chandana)
Answers were Sorted based on User's Feedback
we can associate a .vbs file to qtp script without using the
navigation given above i.e
we can use "executefile" method
simply
executefile"path of the .vbs file"
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / dilip
User Defined Libary File : filename .vbs
Test Batch Runner File : filename .mtb
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / satyanarayana
Hi i think librar file and .vbs file or function is same.
TO the functions we have to use the following syntax
Call functionname()
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / limon
we need to follow the following steps.
file>settings
"test setting window" opens.
click on resources
browse the file that we saved somewhere (desktop,c drive) with extension .vbs.
click on apply.
click on OK.
NOW WE CALLED THE FUNCTION IN THE SCRIPT.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / nandishpatil
Suggest you to visit the below link:
http://www.knowledgeinbox.com/QTP_LibraryFiles.html
| Is This Answer Correct ? | 1 Yes | 2 No |
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close
What is the limitation to XML Checkpoints?
what does it mean when a check point is in red color? what do u do?
Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.
can any body give the banking domain concepts/links
In how many ways we can add check points to an application using QTP.
HO DO U CALL A ACTION?
What is the difference between local and shared object repository in qtp?
hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me
Explain in brief about the quicktest professional (qtp) automation object model?