I run the script on the webapplication that is developed using frame. IE is able to identify the object in the frame but not Chrome. I have set the following at the beginning of the test and still it does not fix the problem.
Browsers.Item("chrome").RunOptions= "--allow-file-access-from-files --disable-web-security";
I look into the Browser Explorer, the frame shows as one panel, there isn't break down in that panel whereas IE do.
Any idea how to fix this problem?
Have you been through all these steps?
I did the Chrome configuration as shown in the link provided in your reply, it is still unable to recognize the object in the frame
There is a prompt when I run the disable web security chrome command line, "You are using an unsupported command-line flag: --disable-web-security. Stability and security will suffer", is this just the warning?
Here's an earlier thread that discusses a similar problem. Does this help you at all?
I suggest you contact Support directly with your question. Here's the link:
This looks like the same problem I had with one of my dialog boxes in Chrome. In that instance I have to check for the Chrome browser then run it as a TestedApps.
The basic parameters I use are:
Name = Chrome
Check Launch application from tests
Application = C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Command-line parameters = --disable-web-security --user-data-dir="C:\Repository\Automation\FieldSystemsAutomation\ChromeApp"
Then in the script where it fails I have:
if(SelectedBrowser == -3)
Log["Event"]("Opening Chrome via the TestedApp");
Log["Event"]("Launching Browser using conventional method.");