Contributions
How to input the changing reCAPTCHA text during test playback
On a page that requires the user to enter the reCAPTCHA text before clicking the Next button, how can TestComplete take in the values that change in thereCAPTCHA box? These values are going to be different when the test is played backed and will not match the values that were recorded during the test recording process. Is there a way to automatically get the newreCAPTCHA values during test playback?17KViews0likes1CommentRe: Repeating common operations on different pages of a web application
Dear Mazhar, Thanks for the OnWebPageDownloaded event tip...i'll give it a try and let you know if it works for me. I needed some information about CSTE exam. I heard that this exam is not offered in Pakistan. How did you manage to get the certification? What material you used to prepare for this exam. Whats the Fee for this exam and can you please guide me a little about the registration process. Is there an institution in Lahore that offerspreparation/training for this Exam?1KViews0likes0CommentsProblem Identifying objects/windows with time stamp
My application contains an Export button which upon clicking exports the data and the Exported Excel file contains the name of the file with updated time stamp each time the export icon is clicked. When TestComplete runs the test it probably looks for the same time stamp information as was recorded originally. Consequently, it fails to close the Excel window once the data has been exported. How can I make it close the Excel file containing exported data regardless of the time stamp in the document title? During the playback TestComplete encountered this file.... Export_Report_10_12_2010_7_20_42_AM(1) while it was looking for the following file that was exported during the test recording session... Export_Report_10_12_2010_7_10_22_AM(1) how can this be avoided?14KViews0likes1CommentRepeating common operations on different pages of a web application
On each page of my web application, I have a set of buttons used for common functions like: Refresh, Email, Export, Print and Help etc. How can i create a Script or Keyword test such that the same test can be run for each page in the application with little modification. Are there going to be any particular variables whose values can be dynamically changed toaccommodatedifferent pages within the application? Can it be done through inputting the the page name variables through a text file and then the test engine can perform the same set of operation once it has navigated to the appropriate page? I mean to say, if the name of the page is changed in the ToURL statement (http://localhost:60673/UI/Pages/Page.aspx), then the test engine might proceed with the next steps once a certain page loads? A quick reply will be highly appreciated. regards15KViews0likes3CommentsVerifying text field's watermark to show on page load
I want to verify that watermark text appears in certain text boxes when the page loads. I also want to verify that the watermark disappears when the I click inside the watermarked fields and reappears when the control loses focus. I also need to verify that when none of the watermarked fields have focus, they are showing the watermark inside them.11KViews0likes1CommentRe: How to click an HTML table when the link's position is changed
I was able to click a particular link in the grid using the following option Find child of Aliases.IEXPLORE1.pageSystemUsers.formAspnetform.tableTblmain.cell.panelIdareapagecontainer.table.cell.panelDivgrid.panelNgvsysuserBodyContent Click ... Simulates a left-button single click in a window or control as specified (relative position, shift keys). TC searched for the innerText value and when it existed in the table area, it successfully clicked it irrespective of its position in the table.872Views0likes0CommentsHow to click an HTML table when the link's position is changed
In an html table if somehow the column sort order is changed or the if data is deleted from above or below the desired link, TestComplete clicks the wrong link on playback since the original link has a different X,Y position now. I need to search for the particular link on the web page and click it even if it appears a row below or above when the test is played back.18KViews0likes1CommentRe: Required Filed Validation
Here are the steps and the login validation that i want to verify: 1-I want to verify that when I click the Login button without entering a User ID and Password, both the User ID and Password fields display a label underneath them with a certain text. 2-By entering an invalid User ID and a correct password and clicking the Login button i want to verify that a certain message is displayed on the web page below the page title. 3-By entering an invalid Password and a correct User ID and clicking the Login button i want to verify that a certain message is displayed on the web page below the page title.1.8KViews0likes0CommentsRe: Required Filed Validation
Here are the steps and the login validation that i want to verify: 1-I want to verify that when I click the Login button without entering a User ID and Password, both the User ID and Password fields display a label underneath them with a certain text. 2-By entering an invalid User ID and a correct password and clicking the Login button i want to verify that a certain message is displayed on the web page below the page title. 3-By entering an invalid Password and a correct User ID and clicking the Login button i want to verify that a certain message is displayed on the web page below the page title.1.8KViews0likes0CommentsRequired Filed Validation
I have a web application and on one of the pages, I need to verifiy that validation bubbles do show up if the user clicks the Save Buttton without entering a value in the required fields on this page. How can I make TestComplete verify that the validation bubble does appear in the given scenario? The steps involved are as follows: 1-Navigate to thedesired page. 2-Click the Save button without entering any values in the required fields. Both the required fields are highlighted red and a validation bubble appears next to the fiedls when click in the fields,, tab into them.14KViews0likes4Comments