Contributions
How to download and add external Python packages in TC 14
Hello All, Can anyone suggest me step by step process todownload and add external Python packages in TC 14. I tried the following, but I didn't have any luck https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html from os import sys sys.path.insert(0, '%PATH_TO_PYTHON_DIRECTORY%\Lib\site-packages') import requests #--> getting error i.e. requests module doesn't found And do I need to install python in my machine? I guess python is inbuilt with TC . Am i right? -BommaReddySolved1.8KViews0likes4CommentsRe: How to add python module in test complete
Can anyone elobrate in more detail? from os import sys sys.path.insert(0, '%PATH_TO_PYTHON_DIRECTORY%\Lib\site-packages') import requests But the TC tool showing an error 'No module named 'requests'. So how to import packages, please let me know with an example or else syntax in detail.3.4KViews0likes1CommentUnable to identify all rows in 'ui-grid-canvas'
Hi Team, Test complete is unable to identify all the objects in the data grid. The data grid is dynamic i.e. it may contains 10 rows or 50 rows or more. But inobject tree we are able to see only first 16 rows. Post when we scroll down, rows are starting from 0(zero) instead of increasing the number 17 and so on. The data grid class name is 'ui-grid-canvas'. Is there any way to identify all the objects(rows) at a single shot? Please let me know if you require any other details in this regard. Attaching sample screen shot of datagrid Regards, BommaReddy1.7KViews0likes4CommentsRe: Can we open application with Different Date Format
Hi Shankar, My current application will be invoked only if the system language as British English and also Date format should be in DD-MM-YY. Now, I want to invoke the same application in US server, But the server language is in US English and Date format is in MM/DD/YY. It is effecting my existing process,If i change my server language and Date format. Instead of changingserver settings is their any workaround solution for this? Regards BommaReddy1.9KViews0likes2CommentsRe: Can we open application with Different Date Format
Hi, If we want to open desktop application with different user credentials, we will use the following in TC. TestedAppObj.RunAs(Domain,UserName,Password) In the same way can we openapplication with different date format. Thanks, BommaReddy1.9KViews0likes4CommentsRe: How can i open a folder and read/write into a text file which is protected by Username and Password?
Yes. The file is located in FTP(File transfer protocol). So how can I establish a connection from script to read and write in a text file which is located in FTP? Regards, BommaReddy2.3KViews0likes3Comments