Trend Nxt HP Service Test | Question and Answers

HP Service Test | Mock Test

1
[HP ST] How do you add a REST Service Test?
a. Clickin on Add REST Service test on the toolbar
b. Adding REST Activitiy from XML Activity
c. Right Click on Test Flow and add
d. Drag and drop from WADL

Answer : Clickin on Add REST Service test on the toolbar

2
[HP ST] How do you add Think time for Performance Testing
a. By adding Think Time from LoadTesting Activity
b. By Adding Sleep from Flow control activity
c. By adding Wait from Flow control Activity
d. By adding Think Time fro Miscellaneous Activity
Answer : By adding Think Time from LoadTesting Activity

3
[HP ST] How do you DataDrive a loop?
a. By Adding Data Source from Data Source Menu
b. By Adding Data Source in Test Flow Menu
c. By Adding Data Source from Input Menu
d. Loop cannot be Data Driven
Answer : By Adding Data Source from Data Source Menu

4
[HP ST] How do you display message box from custom code?
a. Mbox
b. MessageBox.Show
c. Msgbox
d. MessageBox.Create
Answer : MessageBox.Show

5
[HP ST] How will verify the count of a node in XML response?
a. XPath Check point
b. XML Check Point
c. TestUsercode.cs
d. DB Check point
Answer : XPath Check point

6
[HP ST] Service Test Uses which bridge for Database Testing (Choose the best option)
a. OLE
b. ODBC
c. JDBC
d. OJDBC
Answer : OLE

7
[RIT Testing] How do we store a value into a variable in RIT
a. Creating a variable and assigning the value to it
b. Creating a tag
c. Value cannot be stored
d. Creating a Property Transfer Step
Answer : Creating a tag

8
[RIT Testing] How to map a Schema to a request in the test
a. Open the request properties>Click on Config tab >Right click on the message>Configure the Schema
b. Open the request properties> Configure the Schema
c. Open the request properties> Click on Value tab> Right click on the message>Configure the Schema
d. Open the request properties> Click on Store tab> Right click on the message>Configure the Schema
Answer : Open the request properties>Click on Config tab >Right click on the message>Configure the Schema

9
[RIT Testing] If a mask is configured to particular WSDL field then
a. If the field is encountered during recording, then it is ignored during recording
b. If the field is encountered during recording then the field is replaced by the configured value in the mask
c. If the field is encountered during recording, then it is taken into consideration during recording
d. Scenario not possible
Answer : If the field is encountered during recording, then it is ignored during recording

10
[RIT Testing] If the iterations in “Iterate Test Data” is not set and the test data contains 3 rows. How many iteration will the test complete
a. 1
b. Test will Fail
c. 3
d. No steps will be executed
Answer : 3