Forum Discussion
AlexeyKolosov
15 years agoStaff
Hi Pushpa,
If you have a page object and you need to find the process to which the object belongs, I recommend that you use the Parent property to retrieve the parent process and check the name of the process. Alternatively, you can check whether the Page object supports some browser-specific properties, like the Application property, which is available for IE only. For example:
if (aqObject.IsSupported(pageObj, "Application"))
{
Log.Message("IE");
}
else
{
Log.Message("Firefox");
}
Related Content
- 13 years ago
- 2 years ago
Recent Discussions
- 12 hours ago
- 2 days ago