How can we check whether a particular sheet loaded (existed)
or not in Data Table.

Answer Posted / madhulika

On Error Eesume Next
datatable.getsheet("Sheet name")
'Checking error number, if no error then returns 0
If err.count<>0 Then
msgbox "Sheet not available"
Else
msgbox "Sheet available"
End if
On error go to 0

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where to use function or action?

751


What are main panes available in qtp test browser?

617


How to use the object spy in quicktest professional 8.0 version?

628


Differences between text and test area checkpoints?

661


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

660






Explain qtp(quick test professional)?

659


For which type of project the iterative model is suitable?

1453


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1437


after initiating one project for testing, when exacltly QTP tester role starts?

1522


If the objects hierarchy is changing from build to build, then how you will handle that condition?

711


How to find array size in qtp?

675


what type of run time errors you get while you ar edoing rpg program?

1601


In qtp, how you can get the last character from a string?

640


What is the use of text output value in quicktest professional?

589


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3031