Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Application Program Interviews:AutoCADBEA WeblogicBioinformaticsBizTalk ServerBug Tracking ToolsBugzillaClarify CRMCoding StandardsComputer Aided Design (CAD) DesignerCVSGIMPJMXLINQLoadRunnerMagentoMATLABMicrosoft AccessMicrosoft ExcelMicrosoft OfficeMicrosoft OutlookMicrosoft WordModel View Controller (MVC)OLAPOOADQuickbookRational RobotRDFSchemaSiebelSilkTestSVGTest PlanTesting ToolsUnity 3D DeveloperVRMLWCF SDKWPFXML DOMXPointer
Copyright © 2018. All Rights Reserved
SilkTest Interview Question:
Prob regarding close the Child Window
Submitted by: AdministratorAnswer1:
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....
Submitted by: Administrator
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....
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.