Visual Studio Integration - Include Test Complete Tests as part of Visual Studio Load Tests
Visual Studio enterprise allows us to create Load Teststo performance test our application. This achieved by creating a series of Web Performance Test scripts and then creating a Load Test setup to distribute the scripts and user load in a controlled manner. (Fig 1) Currently Test Completes support integration with Visual Studio where Test complete scripts can be run via a Visual Studio controller and Test Agent config. But this is limited to only running Test complete tests one by one (Like a regression test suite). Unfortunately a Test Complete script which is in a Visual Studio project cannot be run via the Visual Studio Load Test setup as it does not recognise Test Complete scripts. You get the below error when tying to add the test to a load test config (Fig 2) The reason why Test Complete comes in handy for load tests is because some applications depend on processing in the client end before displaying the results in the GUI (something like a thick client). The time taken for this processing would not be captured via middle tier simulation supported by Visual Studio. Business critical systems which require transaction performance monitored release by release will benefit from the ability to include Test complete scripts in a Visual Studio Load Test as it will allow us to create background "Load" via Visual Studio scripts and monitor real life End to end transaction performance under load via a series of Test complete scripts which run as part of the load test.6.1KViews0likes3CommentsRead excel data/links in javascript test complete
Hi team, I have tried to read the data file using javascript in test complete.But shows error as "Type error: cannot read the property 'SheetByTitle' of null" functionExcelRead() { varexcelFile = Excel.Open("C:\\temp\\DataStorageExcel.xlsx"); varexcelSheet = excelFile.SheetByTitle("Sheet1"); varvalueA = excelSheet.Cell("A", 3).Value; varvalueB = excelSheet.Cell(2, 3).Value; varvalueC = excelSheet.CellByName("C3").Value; } Can any one help regarding this issue or I want to fetch the weblinks from excel file one by one that links need to execute. Thanks in advance.Solved5.2KViews0likes4CommentsShare NameMapping, scripts unit working with team
Hello, I was thinking about how best to reuse NameMapping and script with other projects, so that a change in one project reflects on another project. File jpg is attachment. So, only map objects at General Projects. Merge each NameMapping project at NameMapping from General Projects. Share generic scripts with others projects(I know it's possible, Script > Add > Existing Item). About control version at Team Foundation Version Control: If we are working with teams, is this the better way to share same objects in NameMapping and functions already created ? Is better way to reuse ? I didn't find something like that.Solved4.4KViews0likes10CommentsCopy and rename a file using JavaScript
Hello, I am trying to copy an xml file, and rename it so I can use it in my tests. Only I can't seem to figure out what I am doing wrong. I used the TestComplete documentation, as I got the code from there. I tried to modify it in different ways, but nu success. This is the code I currently have: aqFile.Copy("\\bs-international.nl\group\ICT\Applicatiebeheer\TestComplete\NewPackingTable xml files\NewPackingTable_BIT-ERP_Order.xml", "\\bs-international.nl\group\ICT\Applicatiebeheer\TestComplete\NewPackingTable xml files\NewPackingTable_BIT-ERP_Order-copy.xml"); function RenameXMLFile() { var OldPath = "\\bs-international.nl\group\ICT\Applicatiebeheer\TestComplete\NewPackingTable xml files\NewPackingTable_BIT-ERP_Order-copy.xml"; var NewPath = "\\bs-international.nl\group\ICT\Applicatiebeheer\TestComplete\NewPackingTable xml files\NewPackingTable_BIT-ERP_Order- "+ VarToStr(aqDateTime.Now())+ ".xml"; // Renames the file aqFileSystem.RenameFile(OldPath, NewPath); } I hope someone can help me get back on track.Solved4.2KViews0likes8Comments.exe file run in test execute
Hi, Is it possible to convert the project suite(with project scripts, keywords) into binary executable? And run in Test Execute Tool. Since, Test execute support file format -> .pjs and .mds. Does the Extensions(has installed with .net framework) will run .exe file? (Note: Test Execute providing .Net Framework->so, Can we run .exe file)Solved4KViews0likes14CommentsFeature request to support Keyword Parameter dialogue in User Forms
If we wantto create a custom keyword operation and want to use a user form than there is no way that we can access the Keyword parameter dialogue from that form. This is requiredwhile creating some functionality where we need to use the user forms but the components/parameters in the user form can be of different type.In that case default keyword parameter dialogue/window will be helpful. Something like: https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Let-the-user-pick-a-variable/td-p/109873 Thanks.3.3KViews1like1CommentTestComplete JIRA Script Extension
Hi everyone, With the release of TestComplete 14.4, Smartbear has released a new JIRA script extension, so that we can use it in more ways than just the toolbar option that we see in our test logs. It can be downloaded in the Smartbear github link below, following the instructions as described in the readme file. This may be old news to alot of you by now as well. https://github.com/SmartBear/testcomplete-jira-extension I think this is a great step forward in creating some more elegant workflows with JIRA, which has sort of become the de facto issue tracking software for many agile organizations. We can see all of the methods that are available here within the docs page: https://support.smartbear.com/testcomplete/docs/reference/program-objects/jira/login.html With this new script extension, this means we can elegantly and automatically create new issues, and update old ones, possibly even using event handlers to update the relevant issues with more context like the visually pleasing mht files. Recently though, I came across a question of whether or not we could move resolution statuses (i.e backlog, selected for development, done, etc.) based on those same type of triggers (i.e onLogError, or conditionally based on logerrorcount). After a quick google search, it seems that jira workflow statuses aren't fields that can be set; they need to be transitioned. This meant that we couldnt use our new jira script extension, and the setField or setFieldJson methods to do just that. Thinking a little bit further about this, it makes sense, because why have a kanban board, unless we want to visually confirm some facts about our issues and physically move them across the various stages of development. Also, we probably don't want our issues to move drastically via automation (my worst nightmare would be waking up to 40 emails from JIRA telling me that all of my issues changed resolution statuses, and later find out that these moves were mistakenly triggered via a CI framework because of a bug in a one of the systems under test) The only way to "transition" the workflow statuses seems to be through accessing JIRA's api. There are certainly endpoints that do this for us. (along with some external libraries aka pip install jira) But as for whether or not we should be doing that? I dont know. ----and now moving this to our tc ide3.2KViews2likes5CommentsBoost TestComplete code autoCompletion
Has anyone ever tried to write their intellisense plug-in for e.g. WebStorm with TestComplete interface structure? or vice versa through "script extension" and their available code completion read files and create a 'better' intellisense than it is now in TestComplete IDE? Additional question. Have you encountered somewhere in the files or in the online sources with the object interface declaration currently available in the Intellisense TestComplete IDE?Solved2.9KViews3likes7CommentsExtension - Using combo in Operation parameter
HOw to put a comboboxin Operation parameter with pre defined value? I'm familiar how to setup a parameter on xml but i dont know how to make it combo with a value, a sample is the Log which have a "Priority" parameters with a predefine selection of value in cmobo.2.8KViews0likes7CommentsHow To Shorten the Length of a String Parameter
Hi, Everybody!... I wish to load test a SOAP web service. One of the parameters needs to be unique for each invocation. I am presently using${=java.util.UUID.randomUUID()}. Lamentably, I am getting the following error:String '<some UUID string>' is too long (length: 36, maximum allowed: 35). How can I shorten the length of the parameter? Please advise.Solved2.7KViews0likes13Comments