SilkTest Question 36: How to open and close browser?

There is Invoke method declared for the Browser window. The following 4test code invokes the currently defined browser - Browser.Invoke(). The Close method will close current browser windows – Browser.Close(), but in most cases this method can be used in combination with CloseOthers. The CloseOthers closes all instances of the current browser except the top most one. One more method would be useful for testing FireFox with SilkTest. The CloseOtherTabs closes all instances of the current browser tabs expect the left most one.

The 4test language examples:

1 comment:

nana said...

*** Error: Window '[MainWin]$explorer6_DOM[1]' was not found

i am getting this problem ..plz can anybody help to solve this

SilkTest interview questions for QA Testers