how do u get lib files into scripting files?
Answers were Sorted based on User's Feedback
Answer / king
The above one related to navigation this is the code
executefile ("path of VBS file")
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / leena
Open test Go to File menu -> Settings -> Resources ->
Associate function libraries -> Click on '+' button ->give
Function library file path -> Apply -> Ok. In this way
function library file get associat with the test. now call
a function in the function library file. While runing the
scrit lib file is called into scripting file.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deepa
save the notepad text as .vbs eg:testing.vbs .after
creating the file in qtp click open choose liberary file
select testing.vbs .through this v can view the libfiles in
scripting file
Is This Answer Correct ? | 0 Yes | 1 No |
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.
banking domain description for software tester for interview
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
How to find a window is minimized or not
On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"
in login module login button chage regularly(means login button change to submit button).What is the code for it.
What are the views available in quicktest professional?
how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.