Contributions
Re: visual studio test complete integration
No luck get the following error in debug mode The thread 0x1d3c has exited with code 0 (0x0). The program '[12636] vstest.executionengine.x86.exe' has exited with code 0 (0x0). We were unable to automatically populate your Visual Studio Team Services accounts. The following error was encountered: TF400813: Resource not available for anonymous access. Client authentication required.2.3KViews0likes3Comments- 2.3KViews0likes5Comments
visual studio test complete integration
Hi, I am trying to integrate visual studio 2015 with test complete 12.I was able to install the VS integration page,create a solution and add a testcomplete 12 test item and link the test items in testcomplete to be executed.I selected the preferred test runner as testcomplete and 'Run test items' as Selected below.Now when i go to Test->Windows->Text Explorer and click execute 'Run selected tests' it does not invoke and run the testcomplete test items.Am i missing anything here? I followed all the steps in this article and yet it does not run my testcomplete test items https://support.smartbear.com/testcomplete/docs/working-with/integration/ms-vs/alm/run-from-vs.html Regards, Shane2.3KViews0likes7CommentsRe: how to check if the object attribute value is NOT NULL
Thanks shankar and any idea how to check if attribute value is NULL or NOT? var period = Aliases.browser.FindChild("Name", 'Panel("tabPeriod")', 99); var period_name = period.getElementsByClassName("dxtc-link"); period_name.Item(k).textContent textContent is the attribute here1.6KViews0likes1Commenthow to check if the object attribute value is NOT NULL
In my test script i have a object period_name which has multiple Item.I just want to fetch the textContent of these items period_name.Item(k).textContent However when running the test case i have noticed sometimes it returns the error that the object is NULL I want to be able to check if the object attribute has a value or not before using it as follows:- do { Indicator.PushText("Period Name is NULL") }while ( Check to see if object is still NULL) var prd_name = period_name.Item(k).textContent1.6KViews0likes3Commentsstate of object changing after click action
Hi, I am trying to automate a test case for web testing in Test Complete where i have to click on a series of tabs and read the data from the grid(for each tab) I am initially creating the tab object and getting the count of tab's to loop through as follows:- var view = Aliases.browser.pageAfsDataDiscovery.formForm1.Panel(2).Panel(1).Table("dxsplitter1").Cell(2, 0).Panel("dxsplitter1_1_CC").Panel(0).Panel(0).Panel("tabView"); var view_cnt = view.getElementsByClassName("dxtc-link").length; I am later trying to loop through the count of views(tabs) and click on the tab and then read the tab name as follows:- for(i=0;i< view_cnt; i++) { var view_name = view.getElementsByClassName("dxtc-link"); var view_id = view_name_temp.item(i).id; var vw_cmd = 'Sys.Browser("iexplore").Page("https://testwebsite.aspx").Form("form1").FindChild("Name",\'Link("' + view_id + '")\',99).Click()' --- Click n the tab eval(vw_cmd) var vw_name = view_name.Item(i).innerText; -- Get the display name of the tab } The issue i am facing is once i click the view(tab) and then use the object var view_name to get the display name of the tab it is returning a NULL value.This is because after the click on the tab (to select the tab) the state of the object variables view and view_name which were created earlier changes(a lot of attributes and properies no longer exists or becomes NULL) I am not sure why the state of objects are changing after the click.Just for argument sake if you consider the first tab i was already on the first tab by default when i stored the values of view and view_cnt initially and i am again just clicking on the first tab for i=0 in the loop,so nothing really changed in the UI Is there any way to resolve this issue?Any pointers appreciated? Regards, Shailesh874Views0likes1CommentUnable to find the object Sys.Browser("firefox").
I am getting the following error when i try a simple test to launch the browser using testcomplete.This same test case had worked before and now it is unable to find the browser I looked at the compatible firefox versions here https://support.smartbear.com/downloads/testcomplete/firefox-patches/#_ga=1.234248732.327001810.1479421205 I am using Firefox version 49.02 and test complete version 12.0.122.7.I also applied the patch provided for TestComplete 12.0(build 122) and firefox 49.0 from the above link Even after applying the patch it is still unable to find the browser and i get the error "Unable to find the object Sys.Browser("firefox")." Any pointers or suggestions to resolve this issue? Thanks, Shailesh894Views0likes2Commentsusing findchild in table checkpoint
I was trying to use findchild in table checkpoint i.e the path of the table object can change in different builds so in order to avoid dependency i am trying to use something like this for the name of the table object Sys.Process("Discovery.WinUI").WinFormsObject("frmMain").FindChild("Name",'Client("Data Panel")',10) However if the table checkpoint passes in Build A it fails in Build B and viceversa as it is not able to identify the table object not sure why. I understand there is some change in overall path of 'Client("Data Panel")' between build A and build B,however "Client("Data Pane") exists in both the builds so i dont know why testcomplete still complains that the object id cannot be found.Any pointers? Eg : Instead of doing this - Page1.Page2.Page3.Page4.Page5.Client("Data Panel"); i am trying to use Page1.Page2.FindChild("Name",'Client("Data Panel")',10) so that if page 3 and page 4 changes in Build B the table checkpoint will still work.However this approach doesnt seem to work710Views0likes1Commenthow to logout a user from testcomplete floating license
Hi, We have floating license and when i logged in it says "All instance of the web testing feature allowed by your license key are already running".No more instances can be launched at the moment. We just have couple of license and some of the users might have forgotten to logout.Is there any way i can log out these users so that the licenses get freed up? Regards, Shailesh793Views0likes1Comment