Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~15.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dbphydb

hello, sorry if i am posting this in the wrong section but this is very urgent and i need help very quickly. i was contacted by my company today and was asked to delete all the posts that i have made on this website immediately. i cannot find "edit" or …

Member Avatar for happygeek
0
237
Member Avatar for dbphydb

Hey all, I am basically a QA tester. To ease some process, i need to download 2 files from some server and calculate the time taken to download each file. 1. The file names are constant 2. The location from where i want to download these files is constant Can …

Member Avatar for richieking
0
361
Member Avatar for dbphydb

Hi, I have the below script which downloads few files from server and writes the file size, start time and download time to a file. Now i want a header for that file. The script does so, but when i run the script again, again the header is appended to …

Member Avatar for woooee
0
175
Member Avatar for dbphydb

Hi, The below code extracts the branch number and the test environment to deploy that particular branches build on from a txt file (branch_dest.txt). Then it parses HTML pages to reach a webpage which contains some checkboxes. I want to check the "Select/Deselect All" checkbox and then click the "Deploy" …

Member Avatar for Tech B
0
2K
Member Avatar for dbphydb

Hi, I have a code which uses HTMLParser to reach a webpage where an exe file is located. The code then downloads and installs the file on local machine. I need a solution for the below problem: HTMLParser reaches a webpage where there are links to clients_test2, clients_test5, clients_test8. Each …

Member Avatar for dbphydb
0
160
Member Avatar for dbphydb

Hello, I am getting the below error when using mechanize to submit a webform. >>> Exception in Tkinter callback Traceback (most recent call last): File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__ return self.func(*args) File "C:\Python26\lib\idlelib\MultiCall.py", line 159, in handler doafterhandler.pop()() File "C:\Python26\lib\idlelib\MultiCall.py", line 206, in <lambda> doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func) ValueError: …

Member Avatar for dbphydb
0
74
Member Avatar for dbphydb

Hi, I am a tester and new to python. The code in bold should execute only if the webpage has the text 'BUILD COMPLETE'. This text is between the <th> tag and this is found using DataParser class. [CODE] URL = "http://11.12.13.27:8080/cruisecontrol" from urllib2 import urlopen from HTMLParser import HTMLParser …

Member Avatar for dbphydb
0
659
Member Avatar for dbphydb

Hi, After much research and help from forums, i have the following. Using HTMLParser to parse thru html pages and then finally reaching a webpage where i have to check all the checkboxes and then click the 'Deploy' button. Used ClientForm to do this. But i am getting some HTTP …

Member Avatar for dbphydb
0
167
Member Avatar for dbphydb

Hi, I want to search for a particular text on an html page ---> Build Complete Further execution should be only if the build is successful which is denoted by the text 'Build Complete' on the webpage. Denoted in bold in the code below. [CODE] URL = "http://11.12.13.27:8080/cruisecontrol" from urllib2 …

0
64
Member Avatar for dbphydb

Hi, Please check the below code. [CODE] URL = "http://11.12.13.27:8080/cruisecontrol" from urllib2 import urlopen from HTMLParser import HTMLParser import re # Fetching links using HTMLParser def get_links(url): parser = MyHTMLParser() parser.feed(urlopen(url).read()) parser.close() return parser.links # Build url for Deploy page def get_deploy_url(): url = URL + "/buildresults/xxx_%s_nightly_build" % branch print …

Member Avatar for dbphydb
0
112
Member Avatar for dbphydb

Hi, Im basically from QA. I have a piece of code in python that parses HTML pages to reach to a specific link on a webpage. The below code gets me the url of the link which needs to be clicked. What code should i write to simulate clicking a …

Member Avatar for TrustyTony
0
972
Member Avatar for dbphydb

Hi, The below code is doing the following 1. Reading the branch name and the destination from a txt file 2. Parsing thru HTML pages Basically, i want to deploy the build of the branch (supplied thru txt file) on a test environment (supplied thru txt file) The branch_dest file …

Member Avatar for dbphydb
0
203
Member Avatar for dbphydb

Hi My txt file looks something like this: Branch: ltm_7.4 Destination: Test 5 [CODE] lines = open("branch_dest.txt").readlines() lines=[x.split() for x in lines] print lines branch = "%s" % lines[0][1].strip(': ') print branch destination = "%s" % lines[1][2].strip(': ') print destination [/CODE] I need to extract the branch name and the …

Member Avatar for dbphydb
0
5K
Member Avatar for dbphydb

Hi, I want to access a link starting with clients_test on a particular webpage. I have the following code client_re = re.compile(r"clients_test") def get_client_url(): url = get_artifacts_url() for link in get_links(url): if client_re.search(link["href"]): return "http://11.12.13.27:8080" + link["href"] Sometimes the page has many links beginnng with clients_test for e.g: clients_test4, clients_test5, …

Member Avatar for dbphydb
0
115
Member Avatar for dbphydb

Hi, i am basically from QA. So what we do each morning is open a web browser with the address [url]http://11.12.13.27:8080/cruisecontrol[/url]. Then we click on the build with last nights date. Then we click on a folder say client. Then in that folder we click on an exe file say …

Member Avatar for Udai02
0
5K
Member Avatar for dbphydb

Hi, I am basically from QA. What we testers do each day is 1. Open a web browser. Type in [url]http://hostname:8080/cruisecontrol[/url] (since we are in a particular network, only we can access this) 2. Check if the latest nightly build has been successful. If it is successful, deploy it on …

Member Avatar for TrustyTony
0
83