Contributions
Validate a new chrome window opens
I have the below Open link icon in my desktop application. Now when I click this icon it should open the url in a new chrome window. How to validate this in TC. For the information, I am automating an Desktop application need to test whether a new chrome window opens with the expected url.Solved510Views0likes2CommentsRe: Drag and Drop action in windows based application
HiMarsha_R, Yes I have seen your post. But did you see properly what I have posted ? lol I have not posted the answer by just reading the documentation. And I have not reply to all the question just posting what's already there in the documentation. Rather I also faced the same issue and tried myself in my project and posted my experience. Not just the posting what's already there in the documentation. Because, If I just google it like "Drag and Drop action in windows based application" I directly redirect to the following link https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/onscreen/drag-action-onscreen-object.html?sbsearch=drag%20 then why should anyone come to community site.814Views0likes1CommentRe: Drag and Drop action in windows based application
HiSAtishqatrainer Drag drop action is not recorded for me as well, but we can modify the code as below, Aliases.AppService.HwndSource_MainWindow.Drag(50, 90, 100, 0) Also, TheDragaction works in the following manner: Moves the mouse cursor to the point specified by theClientXandClientYparameters. “Presses” the left mouse button. “Holds” the button down and moves the cursor to the distance specified by thetoXandtoYparameters. “Releases” the left mouse button. https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/onscreen/drag-action-onscreen-object.html?sbsearch=drag%20843Views0likes5CommentsHow to show the log directly into the console.
Currently, I am running my project through command line in Jenkins/Command prompt. As I understood from the TestComplete Command Line, we can able export the logs throughexport logbut I want the logs to be shown in the console during runtime itself. Is that possible. Like in pytest framework we havelog_cli = true.Such that in runtime logs will be shown in the command prompt/jenkins console. Will it be possible in Testcomplete.494Views0likes1CommentHow to set pre-conditions for execution plan before it start any Test Case
Basically, I am writing BDD test and selected the feature file to my Execution plan as different test case. But before I start any feature to get executed I need some pre-conditions to be done like created the test data to my test accounts through API. So, now how can proceed to create these preconditions for my test. Basically, I need solution where all my pre-conditions to be executed before my test from Execution plan starts. Any hope.620Views0likes2CommentsHow to skip the BDD test
How to skip the BDD test. I have 2 scenarios below. I want Scenario2 should be Skipped. Feature: Check the User Profile settings Check all the ways to open the settings form. Check the edit features. Scenario: Scenario1 Given The tested app is running And The Login form is on screen When I enter JohnSmith in the Name edit box And I enter no password And I click Sign In Then I should see 'Hi, John Smith' in the toolbar Scenario: Scenario2 Given The tested app is running And The Login form is on screen When I enter JohnSmith in the Name edit box And I enter no password And I click Sign In Then I should see 'Hi, John Smith' in the toolbar Can anyone please help with this.1.1KViews0likes5CommentsGet aqHttpResponse as json/dict format
In following python code, I can see aqHttpResponse Object Properties has onlyTextbut actually I required my response to be in json or dict format in-order to parse it. request = aqHttp.CreateGetRequest(endpoint) response = request.Send() Please suggest how I can get the response in json/dict format or how I can convert this response.Text to json/dict format. Note: eval() function I have used to convert text to dict but it failed for the case like "status":true NameError: name 'true' is not definedSolved494Views0likes2Comments