Here are some sample WinRunner technical job interview questions asked in various IT companies Interviews, Placement papers, recruitment exams for freshers and experienced developers / coders.
- Describe different loop commands in Winrunner.
- Why do we use the GUI map configuration?
- How can you determine the value of the variables while debugging?
- Method to copy and move objects between GUI map files.
- Some TSL Functions.
- What is the function of the find and show button.
- Method for conversion of a database file into a text file.
- Which command does the GUI checkpoint generates for multiple objects. What can you verify with it?
- Configuration of the GUI Map.
- How can you identify the files after loading them into a GUI Map?
- How can you identify an object in a GUI Map
- How do you handle various window labels in Winrunner
- How will you use the Data driver wizard to record a test script.
- What is the compile module.
- What is the function of call and call_close statements.
- WHy do we use the GUI map temp file?
- Syntax and command generated by the bitmap checkpoint for screen area.
- Describe the custom class in winrunner.
- What methods are applied on the custom objects?
- What do you know about debugging test scripts?
- Describe winrunner testing. How does it identify various objects in the application?
- what is a watch list?
- How do you compare two different files using a function?
- Method to verify the Database checkpoint default. Describe the command generated.
- How do you merge files having multiple objects?
- Why do you want to change the logical name?
- Which objects do you record when you make a GUI map.
- What is the search path for a called test.
- Can you run Unix shell scripts using WInrunner? How?
- How is a regular expression suppressed?
- Which decision making command do you use?
- What does a framework contain?
- How can you go to dos prompt from winrunner. Which command do you use for that?
- Difference between script and compile module.
- Explain the method to call a function from external dll libraries.
- What do you mean by compile module.
- Explain the different stages in winrunner.
- How are object exceptions handled in winrunner?
- How can you store the batch test results?
- How are TSL Exceptions handled?
- Is there a way to test the web application without opening the Internet browser?
- How are pop up exceptions handled?
- How can you see the test results for check points?
- How are errors and other events handled?
- Describe the step, step into, step to cursor and step out command used for debugging.
- Which are the three important modes of running scripts?
- Demerits of loading GUI maps using start up scripts.
- Describe the Get Text checkpoint. What is its syntax?
- What do you know about synchronization points?
- Where are the expected results stored?
- What important information is there in the checklist file?
- How can you parameterize SQL commands?
- How can you parameterize database check points?
- Why is the function generator used?
- Method to declare an array
- How is a ODBC Query made?
- How do you reload a function?
- How are visual basic and ActiveX objects used?
- How can you run the batch tests?
- Using windows run command, how can you run your tests?
- What are the various command line options available?
- How can you change the value of an object?
- How can you edit the checklist file?
- What are the different operating modes?
- Use of the GUI Checkpoint for single property. What command is generated and its syntax.
- Use of the GUI Checkpoint for Object/window. What command is generated & its syntax.
- What are the different kinds of checkpoints?
- Explain the two modes of recording.
- Do you make your test scripts by recording or programming?
- How do you identify the start up file?
- Why do we use the following record methods:
- Record, as object, ignore, pass up.
- Why do we use the location and index indicators in GUI map.
- Explain the optional properties of objects.
- Explain the obligatory properties of objects.
- Why do we use the GUI spy?
- Method to filter the objects in GUI map.
- Can we make the mappings and configuration permanent. How?
- Function of the regexp_label property and regexp_MSW_class property.
- How can we declare constants?
- What is the use of Entry and Exit criteria in the test plan?
- What do you mean by auto and static variables?
- What are public and extern variables?
- Explain the difference between set_window and window_activate.
- Why do we use the return statement
- How can you use the Oracle DB using Winrunner?
- What is the use of 10 in set_window(“main”,10);
- What is the use of in, out and input parameters?
- What will be the result of the following in WInrunner.
- sleep(10); set_window(“main”,5);
- How do you make the user defined functions. What is the syntax of user defined functions?
- What is meant by the static and public classes in the function?
- Have you heard about Function Decomposition in Winrunner?
- What is the use of the Switch command?
- How can you pass an argument in Winrunner?
- How can you make comments in the GUI map file?
- Which command is used to invoke an application?
- What is the difference between the set_window and win_activate?
- Why is the tl_step command used?
- Which kind of GUI file will you prefer to use?
- When is the cache memory freed in winrunner?
- Method to write the Test case in Winrunner.
- Explain Functionality testing.
- Using an example, explain how you can call the windows APIs.
- How do you do testing in broken-links in winrunner?
- Why do we use the load_dll?
- How can you unload the external libraries?
- In winrunner, how will you remove data driven wizard script from a script?
- Can you change thousands of automated scripts with variable interface and functionality?
- Validation of date format in winrunner.
- Which is the best testing tool and why?
- If there are multiple sets of expected results, how will you run the script?
- Write a TSL function to make a dialog box with 2 edit fields.
- Write a TSL Function for making a dialog box with a list of items.
- How does winrunner determine the color of the window or object?
- What is the use of wdiff utility?
Click Here for Part 2 of WinRunner Sample Interview Questions