Contributions
- 6.2KViews0likes0Comments
Re: Run Keyword Test recorded with Internet Explorer 8 in Firefox.
I tried with Chrome 36.0 too: "Sys.Browser().Page("*").Panel(0).Panel("panelResultado").Form("formResultado").Panel("resultado_overflow_grid").Panel("resultado_table").Panel(0).Panel(0).Button("addBtn")". Any ideas?1.1KViews0likes0CommentsRun Keyword Test recorded with Internet Explorer 8 in Firefox.
Hi guys, I've recorded all my keyword tests using internet explorer 8. Now I want to run the same keyword tests in Firefox 31. But my tests fail, because TestComplete doesn't found the objects in the Firefox. Take a look at a Keyword Test recorded with Internet Explorer 8: "Sys.Browser().Page("*").Panel(0).Panel(0).Panel("panelResultado").Form("formResultado").Panel("resultado_overflow_grid").Panel("resultado_table").Panel(0).Panel(0).Button("addBtn")" Now the same Keyword Test recorded with Firefox 31: "Sys.Browser().Page("*").Panel(0).Panel("panelResultado").Form("formResultado").Panel("resultado_overflow_grid").Panel("resultado_table").Panel(0).Panel(0).Button("addBtn")" They look almost the same, the only difference is that: Firefox has 1 Panel(0) and Internet Explorer has 2 Panel(0). Why is that? Someone could help me? P.S.: in the options menu I've disabled the option: "Map objects name automatically" and I'm using the patch for Firefox 31 and TestComplete 10.30.Solved2KViews0likes2CommentsRe: How to run Keyword tests in different urls.
Hi Robert, I've changed to use * in theSys.Browser().Page("*") and this solved my problem. Now, all I have to do to run in differents urls is change the variable Url in the project (one time). I've used * because my urls will change the port number and the address too. Thank you so much! :)2.5KViews3likes0CommentsRe: How to run Keyword tests in different urls.
Hi Robert, I'm sorry but I'm not using mapping objects. I've unchecked the options, image attached. I've tried changing to use the variable Url, and the browser opens in the new Url, but in the event set text it didn't work, because the event was saved with the previous Url. Is there a way to change all the urls in the project without using mapping objects?2.5KViews1like0CommentsHow to run Keyword tests in different urls.
Hi guys, I need some advice to adjust my Keyword Tests. I've already recorded my tests, and that worked fine. But, now I need to run the same tests in different Urls. I've tried creating a variable in the project, and setting the value with that variable. New Url:"http://localhost:7003/administracao/login/loginPage.xhtml" After this, I run the test again, the web browser page is open in the new address, but the tests didn't work, because the actions, for example, set text login, saved the previous address for the action: NameMapping.Sys.Browser().Page("http://localhost:8080/administracao/login/loginPage.xhtml").Panel(0).Panel(0).Panel("idLoginPanel").Panel(1).Panel("contentLogin").Form("form_login").Panel(0).Textbox("j_username") I need to change one by one? I've tried changing to (Url) but that didn't work too. NameMapping.Sys.Browser().Page(Url).Panel(0).Panel(0).Panel("idLoginPanel").Panel(1).Panel("contentLogin").Form("form_login").Panel(0).Textbox("j_username") Can you guys help me? Thanks.Solved3.8KViews0likes4Comments