Answer Posted / nanda.d reddy
Hi,
it is not executive. it is executefile method.
first save ur function file in .vbs format.
u can call them in two ways.
1) with out storing them in associated library files, by
using executefile and call methods.
2) with storing in associated library files and using call
method.
coming to first method:
executefile "<file Path>"(ex: "d:\mydocuments\nanda\login.vbs"
call login_open()
Here executefile executes the funtion file but not a single
function.
call method calls a function in that executed file.
(remember that diff. between xecutefile and call methods.
Executefile executes a script file, and call functions calls
a single function in that execute file)
coming to second method:
go to menu bar--select test menu---select settings--select
resources--click on add(+) button in associated library
files section)--browse the script file and click on
open---click on apply--click on OK.
now come to expert view--write
call function() (Here Function refers the function which
available in that stored file)
the interviewer may ask that what is the diff. between above
two methods...
executefile method uses only in single action where it written.
but second method will use entire test.
I think u got my answer....if no...let me know pls..
sudhanandareddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to write the test cases for STP
Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?
IN MY APPLICATION SOME WINDOW IS THERE IT CONSISTS OF SOME 25 LABLES IN THOSE FOR THE ALREADY SELECTED ONE IT WILL SHOW THE BACKGROUND COLOR IS YELLOW WHILE CHECKING IT SHOULD CHECK THE ALL LABLES WHICH ONE IS HAVING YELLOW COLOUR backcolor=SwfWindow("ALTAIR").SwfWindow("Load Wafer").SwfLabel(" ").GetROProperty("backcolor") SUPPOSE LIKE DS IT WILL BE THERE THEN FOR THAT SwfLabel(" ") inside this how to specify is my doubt because i have to check all the 25 labels plz explain it how to specify that
how to write test cases for the example state name starts with A B C D E F G H I J K L Z
Explain the glass box testing?
How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profile
What is Initial Configuration?
Explain which test cases are written first black boxes or white boxes?
How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?
What are the test cases for mouse?
How many test cases u will write for Acceptance testing?
For how many days (or) weeks you will test a product or software?
Write test cases to test a browser app
Roads concatenation Problem
Consider we have some GIS (Geo Information System) operating
over some road network. Each road represented as array of
two-dimensional geographical points. Road network is a set
of roads.
System has function called Concatenate(). This function
takes raw road network and should return optimized road
network. Optimization lies in concatenating roads with
matching start or end points, i.e. if road AB end point
matches road BC start point, then optimized network should
contain concatenated road AC. Optimized network shouldn’t
contain two roads which can be concatenated.
Your task is to suggest set of test cases for Concatenate()
function in order to make sure it works correctly.
public interface IPoint
{
double Lat { get; }
double Lon { get; }
}
public Road : List
I want 100 test scenario for gmail