html----string concatenation
Ans: we started automation for the Sprint application from the base level it means from designing the frame
work preparing the test plan, and identifying the objects, and maintaining the common functions VB script files
and maintaining the global variables in the Environment files . Also after that we used to generate the scripts,
debugging, execution and canalizing the bugs, in the shared object repository.
Ans: It contains the Global functions and procedures we identified global functions and procedures and
maintained in this .VBS file.
3) Wt is the difference between shared object repository and per action repository?
Ans: It is centrally located file and any user can access and utilize this script for their test script. Per action is
related to particular action And it is useful for that action only.
Ans: we used this for to handle the dynamically changing web pages and object names. We used the string with
the [string name.*] format.
Ans: Arrays are used to store the multiple data , and variable is used to store the single entity.
6) How will handle the multiple huge data from the data base?
Ans: we are maintaing the multiple test data in the spread sheet documents and importing that data in run
time by importing them into global sheet.
Ans :we didn’t use DLL’s but we used the COM components like ADODB connections to connect the data
base.
8) how u will call the function? And how u will pass the parameters?
Ans: I will call the functions like this, first of all I used to declare a variable and I will assign that variable is
equal to funaction name
Dim x
X=functionname(A,B)
A & B are parameters
A is Input B as Out parameter like this we can handles.
End Function
9) How did write procedure and how did u call?
step 7) file -->settings --->Resources ---> [+]--->Browse the required .vbs file
step 8) go to new test and write the calling function and call the required function and Run this test
Swapping:
Dim X, Y
X=2
A=x
B=y
x=B
y=A
End Function