How will you generate Reports using Vb Script?it asked in
testing(QTP)Interview.Plz Any Body Let me know.

Thanks
uday
Uday_testing@yahoo.co.in

Answer Posted / kkk

Hi
Simply say
1. Report. Report event 0, stepno1 “test pass”
Or
Report. Report event 1, stepno1 “test fail”
Here 0=pass, 1= fail
2. Msgbox (variable)
3 Get visible test

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the functionality of vb script?

572


How will you reverse a string in vbscript?

620


What are the 2 ways in which a variable can be declared in the vbscript language?

564


Explain some uses of vb script?

553


Mention how to create a cookie using vbscript?

526






I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

862


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

1875


what is resorceallocation

1772


There are 5 web pages.write a script to click the button on 4th web page.

2938


what is used of Property........End Property loop ? how to write the script for it?

1686


How will you get a random number between 0 and 1 in vbscript?

717


Description.Create

2162


Which function is used in the vbscript language to convert the specified expression into a date type value?

520


How to assign a numeric value to a variable?

618


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1442