Question of The Day
Not many questions from me lately ......and who would have thought I would become somewhat proficient at Python and Data Mapping Taking a second to say thanks to those who have helped. We are all learners. Now does any body have a script that will write my daily status report. Have a great Holiday weekend660Views2likes2CommentsBest way to execute an action if a control is visible?
First sorry if this question was already asked but i have created a shared keyword test to try and perform an action only if a control is visible: Initially in my condition i had only the Control.Visible check but was throwing an error since the control did not exist for that case. This is when i added the Control.Exists first check. What bothers me is that this check make my test much slower when the control in question isnot available. For example when this control does exist, it would take 10sec to execute my test. But if it is not available, my test would then take 20-25sec to perform the same thing. Therefore i was wondering if i was doing the right way or if there was a better way that would speed up the check? Thanks!470Views1like5CommentsIssue with Visible/VisibleOnScreen detection
I have a script where I want to assert an object is no longer visible on screen after an action. Both of these scripts pass when the object is humanly visible on screen: aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "Visible", cmpEqual, true); aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "VisibleOnScreen", cmpEqual, true); When the object becomes humanly invisible on the the screen, these scripts fail: aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "Visible", cmpEqual, false); aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "VisibleOnScreen", cmpEqual, false); This seems like it would be a very common use case so I assume I am just doing something wrong but not sure what..Solved386Views1like3CommentsTable Checkpoint Issue
Hello, I am fairly new to testcomplete I am trying to use table checkpoint. When I am selecting my table, I am facing following issues: 1) My column name is 'NoReportToBackOffice', the wizard takes it as 'No Report To Back Office' or letter by letter as a separate row. 2) My column name mentioned above has the value 'Y', but preview does not show it TC Wizard: What am I missing?319Views1like3CommentsIssue with TestComplete Data-Driven loop
Hello Community, I have a question, does TestComplete supports Data Driven loop for 40 countries site URL's and for different languages(English and Non-speaking English languages). Using Data Driven loop to run multiple testcases and data is getting from excel file. Issue is with Data loop is not continuous, stopping me on errors mainly on "Property checkpoints", "Radio buttons", "check box" and "Objects". URL Example _for English speaking languages: https://www.amazon.com/us/en(here URL says /us-United states country site and /en-English language) https://www.amazon.com/my/en( /my-Malaysia country site and /en-English language) URL Example _for Non-English speaking languages: https://www.amazon.com/mx/es(here URL says /mx-Mexicocountry site and /es-spanish language, content text will be in spanish) https://www.amazon.com/kr/ko( /kr-united Korea country site and /ko-Korean language , content text will be in Korea) Details: -->Test Complete version 15.51 --> using keyword tests --> using web applications for testing. --> Dynamic URL parameters has been set and asterisk (*) added under URL processing properties. --> For example, tested web application URL's like the following one: http://www.example.com/shop/login/systems/category=12111 added * in the object name mapping editor andURL's in Name Mapping will be as follows: http://www.example.com/shop/login/*/* Issues: --> once applying data loop to the scripts, first loop is working as expected and 2nd loop item is breaking on errors"Objects does not exit" -->unable to continue with next Data-Driven loop item. Expectingbehavior: --> Data loop should be continuous without any errors. -->one single testcase should run continuous for 40 countries URL's listed in the loop. Can someone please help me out! Regards, Sindhuja.936Views1like10CommentsVerify text with changing data
Hi, I am creating a test where I need to verify some specific text is present so I am using the checkpoint wizard to verify the text. However in the middle of the text will be a date that will show whichever date the test is run so can change each time I run it and therefore the checkpoint fails. So for example I want to verify the text shows 'This is a test on 01/12/2022' but the next time I run it the text shows 'This is a test on 01/01/2023'. The rest of text other than the date will always say the same so how can I check that but also cater for the date changing and always being todays date? Thanks695Views1like3CommentsVerify if column is sorted in test complete
Hi, There is a table grid in my web application. It has a column which can be sorted in ascending / descending order. How do i verify whether the sorting is working using test complete? Which check point should be used for this verification. Please suggest Thanks, Monica453Views1like1CommentTestComplete aqObject.CheckProperty method
I was recently told by a co-worker to avoid using the aqObject.CheckProperty method to validate data because it can be decommission in the future. Is this true? Personally, I've been using TestComplete since version 3 and never encountered an issue when using Smartbear's check methods. I would appreciate your thoughts, experience, and opinions. Thank you.Solved724Views1like2CommentsHow do I use the POST screenshot for a file that just got created in c:\temp
Can someone show me how to show a screenshot of a file that just got created, much more to show proof the file was created. I have a run script routine created to tell me if the file was created but I would like to capture a screenshot of the file as well or if its not possible can it be appended to the result log instead. The test is done with the Keyword test but if adding a routine is easier by own mean please give me an example. The end goal is to save the proof the file was created if someone wants to recheck it later.Solved2KViews1like5Comments