Contributions
Re: Cloned name mapping object properties references project variable from original project
Thanks for the reply on this, apologies for not getting back sooner, just back from holiday... Looks like this was a mistake on my part as I was setting the NameMappingStr project variable to the wrong value. I spotted it straight away after my holiday....amazing what a difference fresh eyes can make! Once again, thanks for replying cunderw!749Views0likes0CommentsCloned name mapping object properties references project variable from original project
Ok, having a bit of an issue here... I have a shared name mapping project item across all my TC projects. Some of the name mapping object properties are mapped using a project variable called NameMappingStr. I have the same project variable setup in all my projects. During test execution I set the NameMappingStr value (followed by a call to refresh mapping info) which allows me to dynamically set object identification properties and interact with dynamic content on a web page. Here's the problem, it appears the name mapping object property in Project B is looking at the NameMappingStr value from project A. So when I set NameMappingStr in project B the value is ignored. I believe this is because the name mapping project item for Project B was cloned from Project A and is holding a reference to the NameMappingStr variable in project A. I can't seem to find a way round this at the moment. Ideally I would like to have the NameMappingStr variable set at project suite level rather than project level but I don't think name mapping object properties can reference project suite variables. Has anyone else come across this and devised a work around for this. Happy to explain further if required.... Cheers, Chris.821Views0likes2CommentsRe: ClickButton event hangs and doesn't complete until I stop playback.
Thanks for the reply but no dice I'm afraid, the click event does the same as the ClickButton event. I have made some progress though. Looks like there's a problem with an earlier step in the keyword test. The step(s) in question download a file from the same web page in order to check some data. When I click the download button a new blank browser tab is opened which I need to close so I am returned to the original tab and can complete the download process. This is a defect as the download button should not trigger the creation of a blank tab. If I comment out the file download steps (so no blank tab is created) the ClickButton event fires and completes without issue so I think the problem actually relates to the defect in the file download process. i.e. the process of opening or closing the blank tab is effecting the object state of the browser... I will wait for the defect to be fixed and then reinstate the download steps at which point the test will hopefully run end-to-end. Thanks for getting back to me though! Chris.1.7KViews2likes2CommentsClickButton event hangs and doesn't complete until I stop playback.
Hi All, Strange one this. I have a key word command that is clicking the save button on a web page. When I "Run Selected Operation" on the command the test pauses indefinitely....until I stop playback...at which point the command completes. This is preventing my keyword test from completing. Has anybody experienced anything like this? Cheers, Chris.1.7KViews0likes5CommentsRe: One Name Mapping file to rule them all
Hi Robert, Thanks for the tip and the quick response, but how can I work with just a project from the suite? When I try to open a project.mds file, it just opens the entire suite. Do I need torestructurethe project suite files in some way? Cheers, Chris1.5KViews0likes0CommentsRe: One Name Mapping file to rule them all
Hi, Just wondered if a solution was ever found to this as I have a similar problem. I have a project with 12 sub projects all sharing the same namemapping file which is about 60MB. It takes ages, about 20min, to save changes to the namemapping file in any project as the changes need to be propagated across each project (saved and then reloaded) , even though they all share the same file...I'm currently on TC 81.0.487.7. Anyassistancewould beappreciated. Cheers, Chris1.5KViews0likes0Comments