How to get browser name in VBScript
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2009
10:40 PM
12-08-2009
10:40 PM
How to get browser name in VBScript
Hi,
I am trying to get browser name while running the web application in which browser it is.Could you please work around.
Thanks in advance
Pushpa
I am trying to get browser name while running the web application in which browser it is.Could you please work around.
Thanks in advance
Pushpa
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2009
03:46 AM
12-09-2009
03:46 AM
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");
}
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
