SilkTest Question:

Download Job Interview Questions and Answers PDF

Prob regarding close the Child Window

SilkTest Interview Question
SilkTest Interview Question

Answer:

Answer1:
1. Identify the process handle and
2. kill it First child and then the MainWindow.


Answer2:
Integer HWnd=Browser.GetHandle() ///before child popup opens
....then your code
While Browser2.Exists()
{
If Browser.GetHandle()!=HWnd
Browser.Close()
Else
Browser2.SetActive()
}
You can also use window caption in the former code.


Answer3:
I think the tag to identify the parent and child are not unique, that is why the parent is closed...try to make the window id unique and then close the page...
First activate the child using and then close....It should work....

Download SilkTest Interview Questions And Answers PDF

Previous QuestionNext Question
What is stored in a test frame?I am investigating solutions for automating an Invisible Application and believe that using a Grid may solve many of my problems. Does anyone have any experience using this technique with Silk Test or know of any good resources I could contact.?