Contributions
Testcomplete command line execution
I am running the below code in the testcomplete . It opens a command line and executes the command mentioned in the command line. However after the execution of the command , the control is not returned back to the testcomplete. what seems to be the issue here? WshShell.Run("cmd /K cd C:\\Users\\Tester\\ & echo testing",1,true); Log.Message("completed");238Views0likes1Comment- 2 years agoPlace TestLeft QuestionsTestLeft Questions729Views0likes2Comments
Testcomplete
There are lot of open source frameworks like webdriver io, nightwatch,behat,behave all specific to languages and platfrom for web testing which can be used for open source web testing Whereas when we take testcomplete , does the tool cover all these features ? And can these frameworks be integrated and used in testcomplete?304Views0likes2Comments- 631Views1like3Comments
Re: FindChildByXpath throws error in testcomplete
1) I tried this without the checkbox "Use Xpath and css selectors" checked Sys.Browser("chrome").Page(*).FindChildByXPath("//button[normalize-space(text())= 'Advanced']"); or Sys.Browser("chrome").Page("*").findchildbyxpath(%22//button[normalize-space(text())='*').FindChildByXPath(%22//button[normalize-space(text())=" target="_blank" rel="noreferrer noopener">).FindChildByXPath("//button[normalize-space(text())= 'Advanced']"); 2) I tried FindElement selecting the checkbox and Using the below code Sys.Browser("chrome").Page("*").findchildbyxpath(%22//button[normalize-space(text())=" href=""*").FindChildByXPath(%22//button[normalize-space(text())=" target="_blank" rel="noreferrer noopener">*").FindChildByXPath("//button[normalize-space(text())= 'Advanced']").FindElement("//button"); or Sys.Browser("chrome").Page("*").FindElement("//button");1.6KViews0likes5CommentsFindChildByXpath throws error in testcomplete
Sys.Browser("chrome").Page("*").FindChildByXPath("//button[normalize-space(text())= 'Advanced']"); throws me unidentified javascript runtime error at FindChildByXPath Note:Use Xpath and Css selectors checkbox is also selected What seems to be the issue here?1.7KViews0likes10CommentsRe: FindChildByXpath throws error in testcomplete
I believe I understood the issue here, the same methods FindElement and FindChildByXPath works for other web pages in the same URL. I doesn't work only in the initial page I think which might be due to security issue. Can someone help me with this?1.6KViews1like4Comments