Contributions
Re: [BDD] - Do not reuse steps.
Your steps should be business/user and behavior driven not application driven. From a behavior/user point of view save button and open button have no meaning, no sense of business achievment. Instead of save button you should create actions/steps like: When I save <my monthly metrics/user profile>... From a behavior/test stand of view nobody cares about the implementation on a step level. If its a button, a drag and drop or an automatic action, the results his the same. The implementation is documented in the step, or a comment, it can change but does not change the behavior/needs/conditions! 3 forms ==> 3 behavior/business goals/needs => 3 distincts names.4 years agoPlace CucumberStudioCucumberStudio1.3KViews0likes0CommentsRe: How to link scenarios beetwen each other
Don't really understand why you want to link your scenarios with Cucumber Studio. Scenario (and test) should be independant (even more in BDD), if you need to bind tests together to search them and change them together you can use Tags. But for maintainability your tests are already traced through steps, edit a step and update all related tests. If your tests are identical and cloned with just different datas/results you could considere the use of DataTable/Examples to reduce their number.4 years agoPlace CucumberStudioCucumberStudio1.6KViews0likes1CommentKeywordTest Optionnal Parameter and Default Value in TestExecute
While TestComplete allows to create Optionnal Parameter with Default Value in KeywordTests, it seems that TestExecute still don't use those values. Any ideas or plan to support Parameters in TestExecute without script shenanigan.4.7KViews0likes1CommentRe: Oversized Namemapping
Hi Tanya, the issue is definitely related to Shared network projet. We solved it by Merging the corrupted NameMap with a clean one. The Name Map went down from 174 Mo down to 1,4Mo. It seems that Shared project namemap store temporary copy of elements. The number of Child Item stored went down from 471773 <Child> node to 4113. So problem solved by Merge. We won't use the Shared project feature anymore to edit/script.1.1KViews0likes0CommentsRe: Data Driven Testing Over A Period of Time
You can do this either by using DataDrivenLoop with If...Then structure and Go To Label or by scripting. First solution: 1-Do as usual your DataDrivenLoop 2-use a If...Then Structure to check if a line is not burned. 3-If so run your treatment, change a column in you Spreadsheet to mark the line as burned 4-Then Go To Label out of the loop once you've done one treatment. Second solution: Instead use variable and DataTable function like <DBTables>.Values(aRow,aColumn) to get to a specified line, do your treatment and burn/mark the line as used.1.2KViews2likes0CommentsRe: Second window is not recognised
Try to look at the properties of both windows in Object Repository then in the Name Map. Maybe the Name Map properties of the First Window applies to both windows (i.e. same id and Object Type). In that case try to add additionnal properties distinguishing the First and Second Window, like Page Name or so on.716Views1like0CommentsIssues on Windows 32 Bits
It seems we have crash and capture error on the last version of Testcomplete 9.31.3889 Those crash happen exclusively on Windows 32 bits machine. Our computer with 64Bit version of Windows 7 and Windows 8 are unaffected. Anyone encountered those errors?3.7KViews0likes1CommentOversized Namemapping
Hi, we are having trouble managing the size of our Namemap file. It grows unexpectandly from 1Mo to more than 130Mo with only a hundred new objects. It seems that the Namemap was corrupted by concurrent access on the projet. Did anybody encountered this issu before? Is there a way to repair or monitor the Namemap file?Solved4.7KViews0likes4CommentsRe: Working with Date control in TestComplete 8.7
Can you give us an adress to a website using this Ajax Date Control? While using aqDateTime you must use Get and Add functions like addDay, GetYear,... Here are some example of functions using aqDateTime Library. First day of the month: aqDateTime.AddDays(aqDateTime.Today(),1-aqDateTime.GetDay(aqDateTime.Today())) Last day of the month: aqDateTime.AddDays(aqDateTime.AddMonths(aqDateTime.Today(),1) ,-aqDateTime.GetDay(aqDateTime.Today()))1.4KViews2likes0Comments