Contributions
Re: Why can't I find the TestComplete version 11.30.2298 for upgrade from 11.11.1064.7?
Thank you very much for your reply! How do I got to "My Product" page? Do you have more details instructions? When I click on "Productucts > TestComplete" It took me to this pagehttps://smartbear.com/product/testcomplete/web-module/overview/#_ga=1.255186312.1234274549.1458243707 which is for the trial version. I do not want a trial version and need to upgrade my existing 11.11 to 11.30. Thanks! Carol1.3KViews0likes1CommentWhy can't I find the TestComplete version 11.30.2298 for upgrade from 11.11.1064.7?
Hello, I am currently using the Testcomplete 11.11.1064.7. I just upgrade my firefox browser to 45. I'll need to upgrade my testcomplete to 11.30.2298 but I can't find it. Also, the patch for the firefox 45 only contains the tcFFHook.xml file. Right now, I can't use the Object Spy in the Testcomplete to find the objects in the firefox. Please help. Thanks! CarolSolved1.4KViews0likes3CommentsRe: Issues On Working with the table cell for Java Application Web Testing
Hear is my solution to resolved my issue. Thanks! //Author: Carol D. //Date: November 2014 //Purpose: Verify the ROS Child System UI //PM Reports > Custom Reports, Create Template, View Report, Cancel function verifyChildSystem() { var page = Sys.Browser("Firefox").Page("*"); var tblChildSystem = page.Find('idStr','childsystem',100); if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ var btn_InnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; //The default status: there is not any Yes/No selected if (j == 1 || j ==2 || j==4 || j ==5 || j== 7 || j==8){ var btn_Name = tblChildSystem.cell(i,j).Panel("*"); bResult=aqObject.CheckProperty(btn_Name, "className", cmpEqual, 'selectButton rosYN'); } } } } } function markShildSystem(iconBS,selectYesNo) { var page = Sys.Browser("Firefox").Page("*"); var tblChildSystem = page.Find('ObjectIdentifier','childsystem',100); // LogAppStructure(tblChildSystem); var iconInnerText; if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) { if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ Log.Message("Cell " + j + ": " + tblChildSystem.rows.item(i).cells.item(j).innerText); iconInnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; if (aqString.StrMatches(iconBS, iconInnerText)) { //item found if (selectYesNo == 'Yes') { var iconYes = tblChildSystem.cell(i,j+1).Panel('*') ; iconYes.Click(); //iconYes.Child(0).Panel("*").Click(); bResult=aqObject.CheckProperty(iconYes, "className", cmpEqual, 'selectButton rosYN selected'); } else { //No var iconNo=tblChildSystem.cell(i,j+2).Panel('*') ; iconNo.Click(); bResult=aqObject.CheckProperty(iconNo, "className", cmpEqual, 'selectButton rosYN selected'); } //if the ChildSystem found then exit both of the loops j = tblChildSystem.rows.item(i).cells.length + 1; i = tblChildSystem.rows.length + 1; break; } } } } } } function unittest(){ verifyChildSystem(); markShildSystem('Chills','Yes'); markShildSystem('Fever','No'); }1.4KViews2likes0CommentsIssues On Working with the table cell for Java Application Web Testing
Hello, I have Issues on working with table Cell. I know there are some postings about the table cell but I found those posting are not my answers. I came across with several problems on it. (1) I am able to locate the cell but not able to click. (2) On object spy I was able to see the className property but the className became empty during execution on the TC - thus showing on the debug, object evaluation, the className is empty but I can see it on with object spy. I am using TC 10.40.2015.7 and I have a table in screenshot 1(before click), screeshot(2,3,4) are by different click actions and I want to verify. I need to check the state of the columes of Yes and the No. Before click and I found the only property change before click and after click is the className. Before click, both of the Yes/No has the the property for the className: selectButton rosYN and the property for the className: selectButton rosYN selected. function verifyChildSystem() { var page = Sys.Browser(startstop.readBroswerFromIni()).Page("*"); var tblChildSystem = page.Find('idStr','childsystem',100); if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { Log.AppendFolder("Row " + i); for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) //j = 1/2 (yes/no), j = 4/5 (yes/no), j = 7/8 (yes/no) if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ Log.Message("Cell " + j + ": " + tblChildSystem.rows.item(i).cells.item(j).innerText); var btn_InnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; var btn_IdStr = tblChildSystem.rows.item(i).cells.item(j).idStr; //There is not any Yes/No selected // if (j == 1 || j ==2 || j==4 || j ==5 || j== 7 || j==8) if (j == 1 || j==4 || j== 7) { var btnItem = tblChildSystem.rows.item(i).cells.item(j); var btnItemStr = tblChildSystem.rows.item(i).cells.item(j).idStr; bResult=aqObject.CheckProperty(btnItem, "className", cmpEqual, 'selectButton rosYN'); } else if (j ==2 || j ==5 || j==8) { var btnItem = tblChildSystem.rows.item(i).cells.item(j); btnItem = btnItem.Find('ContentText','No',100); bResult=aqObject.CheckProperty(btnItem, "className", cmpEqual, 'selectButton rosYN'); } } } } } function markShildSystem(iconBS,selectYesNo) { var page = Sys.Browser(startstop.readBroswerFromIni()).Page("*"); var tblChildSystem = page.Find('ObjectIdentifier','childsystem',100); var iconInnerText; if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) { if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ Log.Message("Cell " + j + ": " + tblChildSystem.rows.item(i).cells.item(j).innerText); iconInnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; if (aqString.StrMatches(iconBS, iconInnerText)) { //item found if (selectYesNo == 'Yes') { var iconYes = tblChildSystem.rows.item(i).cells.item(j+1) ; iconYes.Click(); } else { //No var clickNo=tblChildSystem.rows.item(i).cells.item(j+2); clickNO.Click(); } //if the ChildSystem found then exit both of the loops j = tblChildSystem.rows.item(i).cells.length + 1; i = tblChildSystem.rows.length + 1; break; } } } } } } function unittest(){ verifyChildSystem(); markShildSystem('Chills','Yes'); }1.9KViews0likes3CommentsRe: how to click on particular cell if we dont have its objets, we only have the grid or table objects?
Issues on working with table Cell I came across with several problems on it. (1) I am able to locate the cell but not able to click. (2) On object spy I was able to see the className property but the className became empty during execution on the TC - thus showing on the debug, object evaluation, the className is empty but I can see it on with object spy. I am using TC 10.40.2015.7 and I have a table in screenshot 1(before click), screeshot(2,3,4) are by different click actions and I want to verify. I need to check the state of the columes of Yes and the No. Before click and I found the only property change before click and after click is the className. Before click, both of the Yes/No has the the property for the className: selectButton rosYN and the property for the className: selectButton rosYN selected. function verifyChildSystem() { var page = Sys.Browser(startstop.readBroswerFromIni()).Page("*"); var tblChildSystem = page.Find('idStr','childsystem',100); if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { Log.AppendFolder("Row " + i); for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) //j = 1/2 (yes/no), j = 4/5 (yes/no), j = 7/8 (yes/no) if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ Log.Message("Cell " + j + ": " + tblChildSystem.rows.item(i).cells.item(j).innerText); var btn_InnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; var btn_IdStr = tblChildSystem.rows.item(i).cells.item(j).idStr; //There is not any Yes/No selected // if (j == 1 || j ==2 || j==4 || j ==5 || j== 7 || j==8) if (j == 1 || j==4 || j== 7) { var btnItem = tblChildSystem.rows.item(i).cells.item(j); var btnItemStr = tblChildSystem.rows.item(i).cells.item(j).idStr; bResult=aqObject.CheckProperty(btnItem, "className", cmpEqual, 'selectButton rosYN'); } else if (j ==2 || j ==5 || j==8) { var btnItem = tblChildSystem.rows.item(i).cells.item(j); btnItem = btnItem.Find('ContentText','No',100); bResult=aqObject.CheckProperty(btnItem, "className", cmpEqual, 'selectButton rosYN'); } } } } } function markShildSystem(iconBS,selectYesNo) { var page = Sys.Browser(startstop.readBroswerFromIni()).Page("*"); var tblChildSystem = page.Find('ObjectIdentifier','childsystem',100); var iconInnerText; if (tblChildSystem.Exists) { //Goes through the rows and cells of the table for (var i = 2; i < tblChildSystem.rows.length; i++) { for (var j = 0; j < tblChildSystem.rows.item(i).cells.length; j++) { if (aqString.GetLength((tblChildSystem.rows.item(i).cells.item(j).innerText))>1){ Log.Message("Cell " + j + ": " + tblChildSystem.rows.item(i).cells.item(j).innerText); iconInnerText = tblChildSystem.rows.item(i).cells.item(j).innerText; if (aqString.StrMatches(iconBS, iconInnerText)) { //item found if (selectYesNo == 'Yes') { var iconYes = tblChildSystem.rows.item(i).cells.item(j+1) ; iconYes.Click(); } else { //No var clickNo=tblChildSystem.rows.item(i).cells.item(j+2); clickNO.Click(); } //if the ChildSystem found then exit both of the loops j = tblChildSystem.rows.item(i).cells.length + 1; i = tblChildSystem.rows.length + 1; break; } } } } } } function unittest(){ verifyChildSystem(); markShildSystem('Chills','Yes'); }3.2KViews0likes0CommentsRe: Test Execute Licenses and set up
Hello, My company has 1 floating license and 3 execute license. The license manager is running in ther server. I've installed the TC10 in my machine as well my co-worker. We can have only one person be able to "create" test cases at a time. At the mean time, how can the other person execute it the test cases? I've another person installed the TC10 in her machine. While there is not anybody running TC, if we are all in the same network, why is not she be able to connect to the license manager server? Thank you very much! Carol2.6KViews0likes0CommentsRe: Name Mapping broken for page objects?
Thank you very much. I am able to downgrade it and now the TC is now working fine. Here is the very userful link for how to downgrade the Chrome to the previous stable version and disable the Chrome automatic updates. 1) How to downgrade http://productforums.google.com/forum/#!topic/chrome/tcWNINefyEE 2) How to disable the Chrome automatic updates http://www.wikihow.com/Completely-Disable-Google-Chrome-Update 3) Download Google Chrome 31.0.1650.63 http://www.filehippo.com/download_google_chrome/54482/ Cheer!3.5KViews4likes0Comments