Top 100+ Silk Test Interview Questions And Answers
Question 1. What Is Silktest?
Answer :
SilkTest is a software program trying out automation device developed via Segue Software, Inc.
Question 2. What Is The Segue Testing Methodology?
Answer :
Segue checking out method is a six-segment trying out process:
Plan – Determine the trying out approach and define precise test requirements.
Capture – Classify the GUI items in your application and build a framework for going for walks your assessments.
Create – Create computerized, reusable exams. Use recording and/ or programming to build take a look at scripts written in Segue’s 4Test language.
Run – Select precise assessments and execute them against the AUT.
Report – Analyze check effects and generate defect reviews.
Track – Track defects within the AUT and carry out regression trying out.
WinRunner Interview Questions
Question three. What Is Aut?
Answer :
AUT stands for Application Under Test.
Question 4. What Is Silktest Host?
Answer :
SilkTest Host is a SilkTest element that manages and executes take a look at scripts. SilkTest Host typically runs on a separate device distinctive than the system wherein AUT (Application Under Test) is strolling.
WinRunner Tutorial
Question five. What Is Silktest Agent?
Answer :
SilkTest Agent is a SilkTest issue that gets trying out commands from the SilkTest Host and interacts with AUT (Application Under Test) without delay. SilkTest Agent normally runs on the identical gadget in which AUT is strolling.
Testing Tools Interview Questions
Question 6. What Is 4test?
Answer :
4Test is a check scripting language utilized by SilkTest to compose check scripts to carry out computerized exams. 4Test is an object-orientated fourth-era language. It consists of 3 sets of functionalities:
A sturdy library of object-oriented classes and techniques that specify how a testcase can engage with an utility’s GUI objects.
A set of statements, operators and facts types which you use to introduce shape and good judgment to a recorded testcase.
A library of built-in functions for performing not unusual support duties.
Question 7. What Is The Dom Browser Extension?
Answer :
Document Object Model (DOM) browser extension is a SilkTest add-on issue for testing Web applications. DOM browser extension communicates at once with the Web browser to understand, categorize and manage objects on a Web web page. It does this by way of working with the actual HTML code, in preference to counting on the visible pattern recognition techniques currently employed through the Virtual Object (VO) extension.
Testing Tools Tutorial QTP Interview Questions
Question 8. What Is The Vo Browser Extension?
Answer :
Virtual Object (VO) browser extension is a SilkTest upload-on aspect for testing Web programs. VO browser extension makes use of state-of-the-art sample reputation techniques to discover browser-rendered objects. The VO extension sees Web pages as they appear visually; it does now not study or apprehend HTML tags within the Web utility code. Instead, the VO extension sees the items in a Web page; for example, links, tables, photos and compound controls the way that you do, no matter the era behind them.
Question 9. What Is Silktest Project?
Answer :
A SilkTest mission is a group of files that incorporates required records about a check project.
Agile Testing Interview Questions
Question 10. How To Create A New Silktest Project?
Answer :
Run SilkTest.
Select Basic Workflow bar.
Click Open Project on the Workflow bar.
Select New Project.
Double click Create Project icon in the New Project dialog box
One the Create Project dialog field, input your task call, and your venture description.
Click OK.
SilkTest will create a brand new subdirectory underneath SilkTest project directory, and store all files related to the new assignment underneath that subdirectory.
QTP Tutorial
Question 11. How To Open An Existing Silktest Project?
Answer :
1. Run SilkTest.
2. Select File menu.
3. Select Open Project.
4. Select the venture.
5. Click OK.
6. SilkTest will open the chosen challenge.
Selenium Interview Questions
Question 12. What Is A Silktest Testplan?
Answer :
The SilkTest testplan is an outline that gives a framework for the software program trying out system and serves because the point of control for organizing and dealing with your take a look at necessities. A testplan consists of two distinct elements: an define, that's a formatted description of the check necessities, and statements, that are used to connect the testplan to SilkTest scripts and testcases that put into effect the take a look at requirements.
WinRunner Interview Questions
Question thirteen. Where Is A Testplan Stored?
Answer :
A SilkTest testplan is stored in a report with .Pln document extension.
Agile Testing Tutorial
Question 14. How To Create And Edit A Testplan?
Answer :
Make certain your challenge is open.
Click the Files tab inside the Project Explorer.
Right-click the Plan folder.
Click New File.
An untitled testplan report opens in the SilkTest testplan editor.
Click File/Save menu to save the testplan.
Question 15. What Are The Types Of Text Lines In A Testplan File?
Answer :
A testplan report includes text strains. There are 5 kinds of text strains in a testplan document:
Comment – Marked in green colour: Providing remark information.
Group descriptiton – Marked in black shade: Providing descriptions for agencies of exams. Tests in a testplan may be grouped into a couple of stages of agencies.
Test description – Marked in blue colour: Providing descriptions for character take a look at.
Testplan statement – Marked in darkish pink color: Providing relations to hyperlink scripts, testcases, take a look at information, closed sub testplans or an include record to the testplan.
Open subplan record marker – Marked in magenda color: Providing family members to hyperlink sub testplans to be protected in a grasp testplan.
Mobile Testing Interview Questions
Question 16. How To Create Group And Sub Group Descriptions In A Testplan?
Answer :
In a testplan, every text line beginning from column 0 represents a top degree organization description. To create sub institution description:
Move the cursor the following line under the pinnacle level institution description.
Click Outline/Move Right.
The text line can be indented to the proper to come to be a sub organization description.
Selenium Tutorial
Question 17. What Are Testplan Attributes?
Answer :
Testplan attributes are person described characteristics to be related to check organization descriptions and/or check descriptions. You seek, become aware of, and/or document check cases based on values of the one-of-a-kind attributes.
Software testing Interview Questions
Question 18. What Are The Default Testplan Attributes?
Answer :
SilkTest gives you 3 predefined default attributes:
Category: The sort of testcase or institution of testcases. For example, you can use this attributes to categorize your check groups as “Boundary cost exams”, “Navigation exams”, and so on.
Component: The call of the application modules to be tested.
Developer: The call of the QA engineer assigned to broaden the testcase or institution of testcases.
Testing Tools Interview Questions
Question 19. How To Define Values For A Testplan Attribute?
Answer :
You have to define values for a testplan before the usage of it:
Make positive your test undertaking is open.
Click Testplan/Define Attributes menu. The Define Attributes dialog box suggests up. You have to see predefined default attributes and other attributes described by yourself.
Select an characteristic. For example, “Component”. The Values field ought to be empty.
Enter a value in Add container. For example, “Catalog”.
Click Add. Value “Catalog” need to be inserted into the Values container.
Repeat the closing steps to add extra values.
Mobile Testing Tutorial
Question 20. Where Are The Testplan Attributes Stored?
Answer :
Testplan attributes are saved inside the testplan initialization document, testplan.Ini, in SilkTest installation directory.
Rational robotic Interview Questions
Question 21. How To Assign Attribute Values To Test Cases?
Answer :
Make certain your testplan is open.
Click at the test case for which you want to assign an characteristic cost.
Click Testplan/Detail menu. The Testplan Details conversation field suggests up.
Click the Test Attribute tab.
Click the Component field. The dropdown list suggests up with all values of “Component”.
Select one of the values within the dropdown listing.
Click OK.
Question 22. What Is A Test Frame?
Answer :
A test body is a record that consists of facts approximately the utility you're trying out. Information saved in a test frame could be used as references when SilkTest records and executes testcases. A test body is stored in an consist of file with record extension .Inc.
Software trying out Tutorial
Question 23. How To Create A Test Frame?
Answer :
Make positive your Web browser is energetic and showing your Web software home web page. Do no longer decrease this Web web page window.
Make sure your test task is open.
Click File/New menu. The New conversation box suggests up.
Select the Test Frame radio button.
Click OK. The New Test Frame dialog field indicates up with a listing all active Web applications.
Select your Web application.
Enter a take a look at body call. For example: HomeFrame.Inc.
Review the window call. It ought to be the HTML name your Web utility. You can rename it, if needed.
Click OK to shut the New Test Frame conversation box.
Click File/Save menu.
QUnit Testing Interview Questions
Question 24. What Is Stored In A Test Frame?
Answer :
A check frame is a textual content report, which data the following kinds of facts for a Web software:
Comment: Commentary data.
WMainWindow: A string steady to pick out your utility’s domestic web page.
Home page window: An item of sophistication BrowserChild window that holds application home page.
SLocation: The URL of the your utility’s home page.
SUserName and dPassword: User call and password if needed to login on your Web application.
BrowserSize: A pair of values to suggest the dimensions of the browser window.
Home page objects: A list of all objects on the home web page, including HtmlImage, HtmlText, HtmlLinks, and many others.
QTP Interview Questions
Question 25. What Is The Syntax Of Ui Object Identifier Used By Dom Extension?
Answer :
The DOM browser extension uses the subsequent syntax for Web UI items:
Browser.BrowserChild(“page_title”).Html_class(“object_tag”)
“page_title” is the name of the Web web page, described by way of the HTML “TITLE” tag.
“object_tag” is the label of the HTML element. How a HTML detail is categorised depending on the kind of HTML detail.
QUnit Testing Tutorial
Question 26. What Is Multi-tagging?
Answer :
Multi-tagging is a technique used by the DOM browser extension to identify a Web web page UI object. Whenever possible, DOM extension inserts more than one tag into the object identifier in following layoutwindow_tag”)
“caption_tag” is the caption of the HTML element.
“#index_tag” is the index of this HTML detail, counting from the start of this web page of the identical elegance of HTML factors.
“window_tag” is the window identifier.
Mobile Application Testing Interview Questions
Question 27. How To Add Objects Of Other Pages To A Test Frame?
Answer :
If your Web utility has pages apart from the home page, you should additionally record their page objects into the check body:
Make sure your Web browser is active and showing another page of your Web utility.
Make positive SilkTest is running.
Click File/Open menu.
Select your check frame file. For instance: HomeFrame.Inc.
Click OK to open the take a look at frame.
Click Record/Window Declarations menu. The Record Window Declarations conversation container suggests up.
Click your Web software window. Web page items are recorded within the Record Window Declarations dialog box.
Press Ctrl+Alt to pause the recording.
Click “Paste to Editor” button. All recorded objects can be inserted into the check body.
Repeat this for other Web pages, if needed.
Agile Testing Interview Questions
Question 28. How To Specify A Browser Extension To A Web Application?
Answer :
Run SilkTest.
Open Internet Explorer (IE).
Enter the URL of the Web utility.
Leave the IE window with the Web utility. Don’t minimize the IE window.
To lower back to SilkTest window.
Select Basic Workflow bar.
Click Enable Externsions at the Workflow bar.
The Enable Extensions conversation will show up. Your Web utility going for walks in the IE window will listed in the conversation field.
Select your Web utility and click on Select.
The Extension Settings dialog will show up. Click OK to permit the DOM browser extension.
Question 29. What Is Defaultbasestate?
Answer :
The DefaultBaseState is a start line of take a look at challenge from which the Recovery System can mechanically restart your check instances while test cases fail to continue.
Test Manager Interview Questions
Question 30. How To Test Your Defaultbasestate?
Answer :
Close your Web utility and different Web browsers.
Make certain your check frame is open.
Click Run/Application State menu. The Run Application State conversation container shows up with a list of states. One of them must be DefaultBaseState.
Select DefaultBaseState.
Click Run button. The Runtime Status conversation field suggests up. And the Results File conversation box indicates up too.
You need to see no error message within the results document.
Question 31. What Are The Important Aspects Of A Test Case?
Answer :
Each take a look at case need to be impartial of different check instances.
Each check case has a unmarried check cause.
Each take a look at case should start from a base country and returning to the equal base country.
Question 32. What Is The Standard Flow Of Execution Of A Test Case?
Answer :
Starting from the bottom state.
Drive the application to the country where the expected result ought to arise.
Verify the actual end result in opposition to the anticipated result.
Declare the check case as surpassed or failed.
Return to the bottom kingdom.
Question 33. How To Include A Test Case Into A Testplan?
Answer :
Make positive your testplan is open.
Enter a test description into your testplan. For example, “Test login technique”.
Select this test description.
Click Testplan/Detail menu. The Testplan Detail conversation field shows up.
Click the Test Execution tag on the Testplan Detail dialog container.
Click the “Scripts” button to browse and pick a take a look at case script file. For instance, LoginTest.T.
Click the “Testcases” button, to select a testcase recored in the detailed script report.
Click OK to close the Testplan Detail conversation field.
Selenium Interview Questions
Question 34. How To Define An Object Verification In A Test Case?
Answer :
While recording a check case, you could outline verification points to affirm UI items:
Make positive you're in the manner of recording a testcase.
Make positive the Record Status conversation field is on the display.
Make positive your recording reached the Web page that has the UI item you want to affirm.
Click the history (clean place) of the Web web page. Do now not click on any objects on the web page.
Press Ctrl-Alt. The Verify Window dialog field indicates up. All the items on the modern-day Web web page are listed on the Verify Window conversation box.
Select the object to be proven inside the object list. Un-choose all other objets.
Select the belongings to be validated in the belongings listing. Un-pick out all other homes.
Click OK to shut the Verify Window dialog box.
Continue your recording.
Question 35. How To Run A Test Case From A Test Script File?
Answer :
A take a look at script report can keep multiple check cases. You can run a testcase from a test script file:
Open the test script report.
Select the check case inside the check file.
Click Run/Testcase menu. The Run Testcase conversation box suggests up.
Click the Run button. SilkTest begins to run the test case.
Do no longer touch mouse or keyboard, to keep away from interrupting the take a look at case execution.
SilkTest finishes executing the testcase. The Results window shows up with the execution end result.
Review the execution end result.
Question 36. How To Run A Test Case From A Testplan File?
Answer :
If a testcase is connected to a testplan, you can run it from the testplan:
Open the testplan.
Select the check description line which has the testcase linked.
Click Run/Testcase menu. The Run Testcase dialog box suggests up.
Click the Run button. SilkTest starts offevolved to run the test case.
Do not contact mouse or keyboard, to keep away from interrupting the check case execution.
SilkTest finishes executing the testcase. The Results window shows up with the execution result.
Review the execution end result.
Mobile Testing Interview Questions
Question 37. How To Run All Test Cases In A Testplan?
Answer :
Open the testplan.
Click Run/Run All Tests menu. SilkTest begins to run all the take a look at instances within the testplan.
Do not contact mouse or keyboard, to keep away from interrupting the check case execution.
SilkTest finishes executing the testcase. The Results window indicates up with the execution end result.
Review the execution result.
Question 38. How To Select A Group Of Test Cases In A Testplan To Run?
Answer :
Usually, a testplan contains a huge range of take a look at cases. For some motive, you don’t need to run all check instances inside the testplan. You need to pick a collection of take a look at instances and run them:
Open the testplan.
Select the test description line (linked to the testcase) to mark.
Click Testplan/Mark menu. The decided on take a look at description line is marked.
Repeat this procedure to pick more linked testcases.
Click the Run/Run Marked Tests menu. SilkTest runs all of the marked testcases.
Do not touch mouse or keyboard, to keep away from interrupting the take a look at case execution.
SilkTest finishes executing the testcase. The Results window suggests up with the execution end result.
Review the execution end result.
Question 39. Can Silktest Run On Mac?
Answer :
Yes, you can Except that you will need Mac Runtime for Java (MRJ).
Question forty. How Load Testing Can Be Done With Silk International?
Answer :
SilkTest is not a load checking out device - it is a purposeful testing device. You could do a crude load test through having Silk on multiple bins after which jogging every one on the equal time - however that is very crude.
You want Silk Performer or Load Runner or some other load trying out device for doing load testing.
Software trying out Interview Questions
Question forty one. 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 up to date. Might be a few tags also however you could 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 have to have proper layout/structure. You can recognize and enforce. Automation Framework need to have a number of following matters.
AUT Specific libraries
Tool wrapper characteristic libraries.
Execution Engine (Script Execution must be derived based on given take a look at statistics) - Data Driven
Results reporting mechanisms (PASS & FAIL for every testcases/tactics and compiled results for all. It would be better, if it captured AUT’s snapshots)
Planning for long term automation.
Keeping GUI items data/declarations dynamically or static.
Planned approach of unattended execution.
Also framework design differs with the aid of tool, scripting languages and sort of AUT etc,. Now a days, humans are the use of PERL, PYTHON, TCL/TK for CLI automation. This layout will range lots from GUI precise tool automation’s layout (QTP, Win runner, Silktest,Robot and QARun and so forth).
Rational robotic Interview Questions
Question forty three. 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 material
Question forty four. How To Write The Single Silk Statement In Two Lines?
Answer :
Very easily observed inside the on-line help underneath:
line breaks in code
line continuation individual
Question forty five. 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 forty seven. How To Run All Test Cases In A Testplan?
Answer :
Open the testplan.
Click Run/Run All Tests menu, SilkTest starts offevolved to run all of the test cases in the testplan.
Do no longer touch mouse or keyboard, to avoid interrupting the check case execution.
SilkTest finishes executing the testcase. The Results window suggests tip with the execution end result.
Review the execution result.
Question forty eight. What Is Dbtester?
Answer :
DBTester is a testing tool that allows you to get right of entry to a database server without delay through ODBC drivers. If your application is a database driven software, you could carry out a check through the utility UI, and confirm data adjustments in the database with DBTester with out using the application UI.
Question forty nine. Is There Any Function For Word Count Of Web Page Is Available In The Silktest?
Answer :
You can use Clipboard features. Get All the contents through 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: growing check scripts includes essentially two step:
Creating Test Data for all take a look at instances.
Writing scripts for automating the test instances.
The first steps, is the final results of analysis of what all information is needed for all of your testcases to be accomplished. These all have to be gathered and scripts to be written so that TEST DATA is ready.
The 2nd steps, is basically the take a look at case execution steps automation.
Question 51. How To Get Button Caption?
Answer :
Use GetCaption( ) technique
Question fifty two. Prob Regarding Close The Child Window ?
Answer :
Identify the process handle and
kill it First toddler and then the MainWindow.
Question fifty three. How To Maintain Recovery System?
Answer :
In your TestCaseExit( ) function you could include like
if situation == 1
try this
If circumstance ==2
do that
Question fifty four. How To Maintain Global Variable When Script Is Run Through Test Plans?
Answer :
use surroundings variable as suggested with the aid of another member of this institution.
Copy the variable to the clipboard, every automation device has a manner to write down and study content from clipboard which does now not have an effect on scope of the script.
Question 55. How Can We Get The Ip Address Of A Pc?
Answer :
You can use the following
primary
[] 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-precise DNS Suffix. Abcd.Xyz.Net
[]TP Address : lx.2xx.2xx.Seventy nine
[] Subnet Mask., . . . . :255.255.0.
[]Default Gateway : 10.206. 1 .1
You want to do some trickery to parse and get the IP string.
Question fifty six. How To Link An Error In The Result File To The Script File?
Answer :
Make certain the Result window is open with result record.
Click Results/Pass/Fail Report. The Pass/Fail Report dialog box shows up.
Select an attribute on that you need the document to be primarily based on. For instance: Component.
Click the Generate button.
SilkTest generates a record within the Pass/Fail Report dialog box.
You can print or export the record.
Click the Close button to shut the Pass/Fail Report dialog field.
Question 57. How To Create Group And Sub Group Descriptions In A Testplan? Can Silktest Verify Locations Of Ads?
Answer :
Yes you can, but the region may also vary from 1 system to another from one resolution to every other. You can use the .GetRect( ) technique. Or you can use the verify properties (keep ctrl-shift whilst recording testcases) and pick out the vicinity for a assets.
Question fifty eight. Can Silktest Switch Browsers Automatically?
Answer :
You can, but there are a few steps that want to be finished.
You want to use Organizer to do this. There you can re-run the same testcases however at the top open a distinct choose (options) report. You have to store those 2 opt files even though after you set the runtime with Netscape, keep the 1st one and save another once you set it up with IE.
Question 59. What Is About .Vtp File In Silktest?
Answer :
.Vtp documents are assignment documents assist tells appreciably on it.
Question 60. What .Choose File Is Used For?
Answer :
.Opt record is used to set the options
Say for your script you set the choice
Agent.SetOption (OPT_WINDOW_TIMEOUT, five)
Agent SetOption (OPTVINDOW_RETRY, 0.06)
Agent.SetOption (OPT_KEYBOARD_DELAY, zero.Three)
For few alternatives you could set in your script If you will set extra number of alternatives, it is higher to set in an decide record and use that decide document.
The above example is for Agent alternative. There are other options e,g General, Runtime etc which you need to set inside the .Opt document.
Question 61. How To Access Script From Other Machine?
Answer :
Share the folder containing the script quite simple. You can run the script out of your system and target can be a few different system the use of join( ).But somebody else can not access except you percentage or strive different options.
Question 62. How To Download Latest Silk Test Trial Version?
Answer :
You don’t as there are no loose downloadable SilkTest trial variations. You need to touch Segue sales and they'll set you up with an account after you could show each want and desire to buy, or as a minimum evaluate. You then down load SilkTest the usage of that account.
Question 63. What If The Object Is Dynamically Changing. How Does Silktest Identifies The Object?
Answer :
if you are speaking about webpages, you may use BrowserPage.FlushCache( ) technique.
You can use multitag concept
Question sixty four. How Do I Declare The Tag, So That Silktest Recognizes Only The Beginning Of The Text?
Answer :
Try to declare the tag with previous text.
Try to declare the tag with place ... Meaning #three (This approach that that is the 3rd dynamic textual content in the web page).
You can attempt to GetText( )
Question 65. Can We Integrate Silk Test With Quality Centre?
Answer :
Silk cannot be included with Quality centre.
Question 66. Runtime Error In Silk?
Answer :
It may be programming errors, considering the fact that DB next is used to head the subsequent data in the table, maybe it's miles attending to the remaining fee, and now not getting any value there.
Question sixty seven. For Automating A Web Based Application Using Jsp?
Answer :
For automating an internet primarily based application the usage of JSP, there may be a seek textbox, a “Search button, a listbox, a “OK” button, and a “Cancel” button. The “OK’ button stays disabled by default. I want to enter a value in search textbox. Click on search button, pick out the ensuing cost within the listbox after which the “OK” button is enabled. Problem: When all this is automated. Silktest reveals the OK button nonetheless disabled after deciding on the consequent price, even though the button is enabled Put one declaration earlier than clicking on shop button BrowserPage.Flushcache( ).
Question 68. Silktest Vs. Visual Test?
Answer :
It in reality relies upon on what you're testing. For complex web web sites (pages not static, a couple of browser home windows, JavaScript), I might say SilkTest works much better, In fashionable, Visual Test is new to the web browser game. If it's miles a Win32 app which you are testing. VT is *a whole lot* faster than Silk and the code compiles right down to a binary report that can without problems be placed on different take a look at systems. This is a *massive* plus for Visual Test. SilkTest will make the announcement document for you, so this saves allot of time. In VT, you have to make the declarations your self but if the product isn’t large, this isn’t a huge deal. SilkTest also is extraordinary a shooting textual content on a web page (both net or Win32 primarily based). VT, last 1 checked, lacked this function. It is a useful feature for verification.
SilkTest also has a pleasant verification characteristic that it makes (a few keystokes and it’s accomplished). Real smooth to trade some of the hardcoded data right here with records from a text file or different region. Nice for doing file verification wherein the layout is the equal, but the information is one-of-a-kind. Cost is some other massive problem. SilkTest is low in price, Silk quite excessive. So, once more, it relies upon for your wishes, what and how you'll be checking out it.
