Searching for an SILK TEST job? If you are an expert in Shell Scripting then this is for you. Do not worry, we’ve a right answer for your job interview preparation. If you are preparing for SILK TEST job interview, we will help you in clearing the interview through Wisdomjobs interview questions and answers page. SILK TEST is the tool that performs automation testing of applications. It has two components, Silk Test Client is an IDE and Silk Test Agent which transforms the commands from script to GUI. It supports recording to verify the elements. Good knowledge on automation testing is required for this job. Below are the SILK TEST interview questions and answers which makes you comfortable to face the interviews:
Answer :
SilkTest is a software testing automation tool developed by Segue Software, Inc.
Question 2. What Is The Segue Testing Methodology?
Answer :
Segue testing methodology is a six-phase testing process:
Answer :
AUT stands for Application Under Test.
Question 4. What Is Silktest Host?
Answer :
SilkTest Host is a SilkTest component that manages and executes test scripts. SilkTest Host usually runs on a separate machine different than the machine where AUT (Application Under Test) is running.
Question 5. What Is Silktest Agent?
Answer :
SilkTest Agent is a SilkTest component that receives testing commands from the SilkTest Host and interacts with AUT (Application Under Test) directly. SilkTest Agent usually runs on the same machine where AUT is running.
Answer :
4Test is a test scripting language used by SilkTest to compose test scripts to perform automated tests. 4Test is an object-oriented fourth-generation language. It consists of 3 sets of functionalities:
Question 7. What Is The Dom Browser Extension?
Answer :
Document Object Model (DOM) browser extension is a SilkTest add-on component for testing Web applications. DOM browser extension communicates directly with the Web browser to recognize, categorize and manipulate objects on a Web page. It does this by working with the actual HTML code, rather than relying on the visual pattern recognition techniques currently employed by the Virtual Object (VO) extension.
Question 8. What Is The Vo Browser Extension?
Answer :
Virtual Object (VO) browser extension is a SilkTest add-on component for testing Web applications. VO browser extension uses sophisticated pattern recognition techniques to identify browser-rendered objects. The VO extension sees Web pages as they appear visually; it does not read or recognize HTML tags in the Web application code. Instead, the VO extension sees the objects in a Web page; for example, links, tables, images and compound controls the way that you do, regardless of the technology behind them.
Question 9. What Is Silktest Project?
Answer :
A SilkTest project is a collection of files that contains required information about a test project.
Question 10. How To Create A New Silktest Project?
Answer :
Question 11. How To Open An Existing Silktest Project?
Answer :
1. Run SilkTest.
2. Select File menu.
3. Select Open Project.
4. Select the project.
5. Click OK.
6. SilkTest will open the selected project.
Question 12. What Is A Silktest Testplan?
Answer :
The SilkTest testplan is an outline that provides a framework for the software testing process and serves as the point of control for organizing and managing your test requirements. A testplan consists of two distinct parts: an outline, which is a formatted description of the test requirements, and statements, which are used to connect the testplan to SilkTest scripts and testcases that implement the test requirements.
Question 13. Where Is A Testplan Stored?
Answer :
A SilkTest testplan is stored in a file with .pln file extension.
Question 14. How To Create And Edit A Testplan?
Answer :
Question 15. What Are The Types Of Text Lines In A Testplan File?
Answer :
A testplan file contains text lines. There are 5 types of text lines in a testplan file:
Question 16. How To Create Group And Sub Group Descriptions In A Testplan?
Answer :
In a testplan, each text line starting from column 0 represents a top level group description. To create sub group description:
Question 17. What Are Testplan Attributes?
Answer :
Testplan attributes are user defined characteristics to be associated with test group descriptions and/or test descriptions. You search, identify, and/or report test cases based on values of the different attributes.
Question 18. What Are The Default Testplan Attributes?
Answer :
SilkTest offers you 3 predefined default attributes:
Question 19. How To Define Values For A Testplan Attribute?
Answer :
You must define values for a testplan before using it:
Question 20. Where Are The Testplan Attributes Stored?
Answer :
Testplan attributes are stored in the testplan initialization file, testplan.ini, in SilkTest installation directory.
Question 21. How To Assign Attribute Values To Test Cases?
Answer :
Question 22. What Is A Test Frame?
Answer :
A test frame is a file that contains information about the application you are testing. Information stored in a test frame will be used as references when SilkTest records and executes testcases. A test frame is stored in an include file with file extension .inc.
Question 23. How To Create A Test Frame?
Answer :
Question 24. What Is Stored In A Test Frame?
Answer :
A test frame is a text file, which records the following types of information for a Web application:
Question 25. What Is The Syntax Of Ui Object Identifier Used By Dom Extension?
Answer :
The DOM browser extension uses the following syntax for Web UI objects:
Browser.BrowserChild(“page_title”).html_class(“object_tag”)
Question 26. What Is Multi-tagging?
Answer :
Multi-tagging is a technique used by the DOM browser extension to identify a Web page UI object. Whenever possible, DOM extension inserts more than one tag into the object identifier in following format:
Browser.BrowserChild(“page_title”).html_class(“caption_tag|#index_tag|window_tag”)
Question 27. How To Add Objects Of Other Pages To A Test Frame?
Answer :
If your Web application has pages other than the home page, you should also record their page objects into the test frame:
Question 28. How To Specify A Browser Extension To A Web Application?
Answer :
Question 29. What Is Defaultbasestate?
Answer :
The DefaultBaseState is a starting point of test project from which the Recovery System can automatically restart your test cases when test cases fail to continue.
Question 30. How To Test Your Defaultbasestate?
Answer :
Question 31. What Are The Important Aspects Of A Test Case?
Answer :
Question 32. What Is The Standard Flow Of Execution Of A Test Case?
Answer :
Question 33. How To Include A Test Case Into A Testplan?
Answer :
Question 34. How To Define An Object Verification In A Test Case?
Answer :
While recording a test case, you can define verification points to verify UI objects:
Question 35. How To Run A Test Case From A Test Script File?
Answer :
A test script file can store multiple test cases. You can run a testcase from a test script file:
Question 36. How To Run A Test Case From A Testplan File?
Answer :
If a testcase is linked to a testplan, you can run it from the testplan:
Question 37. How To Run All Test Cases In A Testplan?
Answer :
Question 38. How To Select A Group Of Test Cases In A Testplan To Run?
Answer :
Usually, a testplan contains a big number of test cases. For some reason, you don’t want to run all test cases in the testplan. You want to select a group of test cases and run them:
Question 39. Can Silktest Run On Mac?
Answer :
Yes, you can Except that you will need Mac Runtime for Java (MRJ).
Question 40. How Load Testing Can Be Done With Silk International?
Answer :
SilkTest is not a load testing tool - it is a functional testing tool. You could do a crude load test by having Silk on multiple boxes and then running each one at the same time - but that is very crude.
You need Silk Performer or Load Runner or some other load testing tool for doing load testing.
Question 41. What I Have To Do To Use The Same Scripts For Web Based Testing?
Answer :
Same script can be used. Only URLs need to be updated. Might be some tags also but you can manage them using wild characters or multi-tag.
Question 42. What Is The Meaning Of The Automation Framework Especially In Silktest?
Answer :
Automation Framework is a discipline and should have proper design/architecture. You can understand and implement. Automation Framework should have some of following things.
Also framework design differs by tool, scripting languages and type of AUT etc,. Now a days, people are using PERL, PYTHON, TCL/TK for CLI automation. This design will vary much from GUI specific tool automation’s design (QTP, Win runner, Silktest,Robot and QARun etc).
Question 43. How To Get Contents Of A Web Page? (for Ex: Yahoo Homepage)
Answer :
BrowserPage. SetActive ( )
Clipboard.SetText ( )
BrowserPage. TypeKeys (“<Ctrl-a>”)
BrowserPage.TypeKeys (“<.Ctrl-c>”)
list of string lsText =Clipboard.GetTet ( ) //holds the browser page content
Question 44. How To Write The Single Silk Statement In Two Lines?
Answer :
Very easily found in the online help under:
Question 45. Html Push Button Is Not Recognizing?
Answer :
Agent.SetOption (OPT_VERIFY_EXPOSED, TRUE)
Do your click event
Agent.SetOption (OPT_VERIFY_EXPOSED, FALSE)
Question 46. How Can I Access A String From Oracle Db?
Answer :
DB_Connect (con_string).
Question 47. How To Run All Test Cases In A Testplan?
Answer :
Question 48. What Is Dbtester?
Answer :
DBTester is a testing tool that allows you to access a database server directly through ODBC drivers. If your application is a database driven application, you can perform a test through the application UI, and verify data changes in the database with DBTester without using the application UI.
Question 49. Is There Any Function For Word Count Of Web Page Is Available In The Silktest?
Answer :
You can use Clipboard functions. Get All the contents by Ctrl+a & ctrl+C. Then parse the List of string.
Question 50. What Is The Best Way To Create A New Test Script?
Answer :
In Automation: creating test scripts involves basically two step:
The first steps, is the outcome of analysis of what all data is required for all of your testcases to be executed. These all should be collected and scripts to be written so that TEST DATA is ready.
The second steps, is basically the test case execution steps automation.
Question 51. How To Get Button Caption?
Answer :
Use GetCaption( ) method
Question 52. Prob Regarding Close The Child Window ?
Answer :
Question 53. How To Maintain Recovery System?
Answer :
In your TestCaseExit( ) function you can incorporate like
if condition == 1
do this
If condition ==2
do that
Question 54. How To Maintain Global Variable When Script Is Run Through Test Plans?
Answer :
Question 55. How Can We Get The Ip Address Of A Pc?
Answer :
You can use the following
main
[] INTEGER iRetum
[]STRING sCmdLine = “ipconfig” [] LIST OF STRING lsOutput
[] iRetum = SYS_Execute (sCmdLine, lsOutput)
[] listprint(lsOutput)
output is
[]Windows IP Configuration
[] Ethernet adapter Local Area Connection:
[]Connection-specific DNS Suffix. abcd.xyz.net
[]TP Address : lx.2xx.2xx.79
[] Subnet Mask., . . . . :255.255.0.
[]Default Gateway : 10.206. 1 .1
You need to do some trickery to parse and get the IP string.
Question 56. How To Link An Error In The Result File To The Script File?
Answer :
Answer :
Yes you can, but the location may vary from 1 system to another from one resolution to another. You can use the .GetRect( ) method. Or you can use the verify properties (hold ctrl-shift while recording testcases) and select the location for a property.
Question 58. Can Silktest Switch Browsers Automatically?
Answer :
You can, but there are a few steps that need to be done.
You need to use Organizer to do this. There you can re-run the same testcases but at the top open a different opt (options) file. You have to save these 2 opt files though after you set the runtime with Netscape, save the 1st one and save another after you set it up with IE.
Question 59. What Is About .vtp File In Silktest?
Answer :
.vtp files are project files help tells extensively on it.
Question 60. What .opt File Is Used For?
Answer :
.opt file is used to set the options
Say in your script you set the option
Agent.SetOption (OPT_WINDOW_TIMEOUT, 5)
Agent SetOption (OPTVINDOW_RETRY, 0.06)
Agent.SetOption (OPT_KEYBOARD_DELAY, 0.3)
For few options you can set in your script If you are going to set more number of options, it is better to set in an opt file and use that opt file.
The above example is for Agent option. There are other options e,g General, Runtime etc which you have to set in the .opt file.
Question 61. How To Access Script From Other Machine?
Answer :
Share the folder containing the script very simple. You can run the script from your machine and target may be some other machine using connect( ).But somebody else cannot access unless you share or try other options.
Question 62. How To Download Latest Silk Test Trial Version?
Answer :
You don’t as there are no free downloadable SilkTest trial versions. You must contact Segue sales and they will set you up with an account after you can demonstrate both need and desire to purchase, or at least evaluate. You then download SilkTest using that account.
Question 63. What If The Object Is Dynamically Changing. How Does Silktest Identifies The Object?
Answer :
Question 64. How Do I Declare The Tag, So That Silktest Recognizes Only The Beginning Of The Text?
Answer :
Question 65. Can We Integrate Silk Test With Quality Centre?
Answer :
Silk cannot be integrated with Quality centre.
Question 66. Runtime Error In Silk?
Answer :
It may be programming error, since DB next is used to go the next data in the table, maybe it is getting to the last value, and not getting any value there.
Question 67. For Automating A Web Based Application Using Jsp?
Answer :
For automating a web based application using JSP, there is a search textbox, a “Search button, a listbox, a “OK” button, and a “Cancel” button. The “OK’ button remains disabled by default. I need to enter a value in search textbox. click on search button, select the resultant value in the listbox and then the “OK” button is enabled. Problem: When all this is automated. Silktest finds the OK button still disabled after selecting the resultant value, though the button is enabled Put one statement before clicking on save button BrowserPage.flushcache( ).
Question 68. Silktest Vs. Visual Test?
Answer :
It really depends on what you are testing. For complex web sites (pages not static, multiple browser windows, JavaScript), I would say SilkTest works much better, In general, Visual Test is new to the web browser game. If it is a Win32 app that you are testing. VT is *much* faster than Silk and the code compiles down to a binary file that can easily be put on different test systems. This is a *big* plus for Visual Test. SilkTest will make the declaration file for you, so this saves allot of time. In VT, you have to make the declarations yourself but if the product isn’t huge, this isn’t a big deal. SilkTest also is great a capturing text on a page (either web or Win32 based). VT, last 1 checked, lacked this function. It is a useful function for verification.
SilkTest also has a nice verification function that it makes (a few keystokes and it’s done). Real easy to change some of the hardcoded data here with data from a text file or other place. Nice for doing report verification where the layout is the same, but the data is different. Cost is another big issue. SilkTest is low in price, Silk quite high. So, again, it depends on your needs, what and how you will be testing it.
SILK TEST Related Tutorials |
|
---|---|
WinRunner Tutorial | Testing Tools Tutorial |
QTP Tutorial | Agile Testing Tutorial |
Selenium Tutorial | Mobile Testing Tutorial |
Software testing Tutorial | QUnit Testing Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.