How do we call Library Files(.vbs) in the Test Script
Thanks in Advance...
Answer Posted / sreekanth chilam
Calling of Library Files can be done in two ways:
1.Loading(Calling)the Library Files in design Time:
In QTP 8.2
Test Menu --> Settings--> resources tab --> click "+"
Button & browse the required file & click Apply.
Now the library file has been associted with entire
(Current)test.(This entire process is done before run time
i.e during design time ).
so all the Actions contained in the test can access the
functions written in the .vbs files.
2.Loading the Library Files during the Run Time:
By using th ExecuteFile Statement.
Syntax:ExecuteFile "../.../../../.vbs filepath"
Here in which action the above statement is given ..in to
that action only the .vbs file will be loaded/called.. but
not to all actions contained in the Test.
During Run time , executefile statement loads .vbs file
into the current action of the test.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
How many types of recording modes in qtp? Describe each type with an example where we use them?
describe some problems that u had with automating testing tool?
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
how to find that tools work well with your existing system?
Is qtp supports uni-code?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
Mention what are the different types of recording modes in qtp? Which will be used when?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
How many types of Automation frameworks are there in UFT? Describe them.
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
Explain xml checkpoints.
How is test case write?
What r the different filters in defect in quality center