Contributions
Switching Browsers
hi, i m trying to run the same jscript function on firefox and chrome. i m setting the variable browser = Sys.Browser() the first time i call this function, chrome was opened, so the system browser is chrome. after i close chrome, i open firefox, but the Sys.Browser is still chrome. how can i test the same jscript function using diffrent browsers. steps i follow: 1-open chrome 2-set the variable in script browser = Sys.Browser() and do actions on browser. 3-close chrome 4-open FireFox 5-set the variable in script browser = Sys.Browser() and do actions on browser. but the browser is still Chrome.Solved2.2KViews0likes1CommentTC 10.20 Firefox 29, object is null
i m searching for 2 objects inside a parent using find method. in chrome it is working great. but with firefox it is returning does not exist when searching for the second object. here is an example: function incrementNumber(valIndex, variable, obj, StepValue) { var counter,counterIndex; var ObjButton,ObjButtonDecrement; var inputValue,document, ngModelString,element,scope; document = page.contentDocument; ObjButton = obj.Find("class","increment_bsy" ,1000); ObjButton.Click(10,10); Delay(1000); ObjButtonDecrement = obj.Find("class","decrement_bsy" ,1000); ObjButtonDecrement.Click(10,10); } in FireFox ObjButtonDecrement is always does not exist object as for Chrome it is working fine. obj is null when ObjButton is clicked. can anyone help me understand what is wrong with this code on firefox?2.1KViews0likes4CommentsTestComplete unable to find Chrome or Firefox windows to navigate
Hello, I have been using TestComplete 9.31 for quite some time now. Yesterday, i did windows update and after restart TestComplete is not working proprely. It can do all actions correct on IE, but nothing is working for Chrome and FireFox. The error i get is: "Cannot find the window with handle", this error appears when i try to navigate in chrome or firefox. I tried to remove and reinstall TestComplete but it did not work. The TestComplete extension on browsers are enabled. What should i do? Take into concederation this issue is a stopper for me. I need a solution as soon as possible. Thanks,Solved5KViews0likes5CommentsRe: [LoadUIWeb] Getting Variable from Location URL in http respond
Can anyone give the regulare expression for: <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="https://arabia-dev.dev.bsynchro.com/?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw">here</a>.</h2> </body></html>606Views0likes0Comments[LoadUIWeb] Getting Variable from Location URL in http respond
Hello, I am new with the Load in general. I have a question if it is doable: I have a POST request that is returning in the respond a URL in Location header, example: https://arabia-dev.dev.bsynchro.com/?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw the code and state are used in the GET request after it, example: GET /?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw HTTP/1.1 HOW can i catch the code and state in the url in Location of a respond and use it in another request? Can anyone help me with this isse as it is very important for me to be able to do a load testing on my website. Thank you, Josette708Views0likes2CommentsNativeWebObject.Find used in IE9 returning a non existing object
Hello, i have the following html in a page: <input name="inputname" data-u-id="input.name.test" /> to find this object, I am searching by using the folloing JScript code: page= Sys.Browser().Page("*"); Mylink = page.NativeWebObject.Find("data-u-id" , "input.name.test", "input"); but Mylink is an empty object. when i use: page= Sys.Browser().Page("*"); Mylink = page.NativeWebObject.Find("name" , "inputname", "input"); Mylink is the mentioned object. how can i use this function to search by data-u-id parameter using IE3.2KViews0likes0Comments