automated software testing

Alibabacloud.com offers a wide variety of articles about automated software testing, easily find your automated software testing information here online.

Guiding principles for automated software testing [translate]

In a recent conversation with software testers, I kept hearing the same thing: Test automation is needed in most projects. Proper use of the following guidelines can help automate the testing process. guiding principle 1: Avoid premature development of test scripts We encourage software testers to conduct automated

Python+selenium Automated Software Testing (13th): Selenium face Test

. Initialize driver parameter, page class pass driver parameter24. Where are the automated test cases coming from?1. Write for yourself2. Written by others(It's a bit of a brain problem, it's not falling from the sky anyway)25. What do you think is the biggest flaw in automated testing?1. High maintenance costs when changes in demand are high26. What is a layered

Automated Testing (4) Automatic Software Uninstall

In normal testing work, software is often installed and uninstalled, Which is cumbersome and tiring. Installation and uninstallation can be automated. For software installation, we can use the automation framework and click Next to install the software automatically. Uninsta

Learning process of software design and automated testing

Learning process of software design and automated testing Preface: WEB programming is being designed in my spare time recently. JSP technology is used. Although JSP is too complicated in website design, it can help me learn the idea of Java, I also think it is helpful to understand automated

Autorunner Automated Software Testing Tool

Source: Zezhong Software Author: Test 007 Time: 2008-05-13 Autorunner is a black box testing tool.,It can be used to perform function testing, regression testing, daily build testing, and automatic regression testing. I

Python+selenium Automated Software Testing (6th): Selenium PHANTOMJS page parsing using

='mozilla/5.0 (Windows NT 5.1)applewebkit/537.36(khtml, like Gecko) Chrome/29.0.1547.66 safari/537.36'#path of the PhantomusPjs_path ='Xx/node_modules/phantomjs/bin/phantomjsDcap = {"phantomjs.page.settings.userAgent": User_agent,'Marionette': True}driver= Webdriver. PHANTOMJS (executable_path=pjs_path,desired_capabilities=dcap)#5 Secondswait = webdriverwait (Driver, 5)#Get HTML login pageLogin_page_url ='http://xxx'driver.get (Login_page_url)#wait until the page loadswait.until (ec.presence_of

Python+selenium Automated Software Testing (7th): Page Object mode

(self):#declaring a LoginPage class objectLogin_page=loginpage.loginpage (Self.driver, Self.url, U "xxxxx")#Call Open Page componentLogin_page.open ()#calling the user name Input componentlogin_page.input_username (self.username)#calling the password input componentLogin_page.input_password (Self.password)#Call Click the Login button componentlogin_page.click_submit () @classmethoddefTeardownclass (CLS): Cls.driver.quit ()if __name__=="__main__": Unittest.main ()After using POM to reconstruct t

Python+selenium Automated Software Testing (11th): Continuous integration with Jenkins and GitHub

config--global user.email [email protected]Workaround: Press the above elevation, cmd window and then enter>git config--global user.name "Here is your GitHub user name">git config--global user.email [email protected] (your email)2. When submitting to remote, prompt:Fatal:remote origin already exists.WORKAROUND: Delete the remote git repository>git Remote RM origin3. When you need to log in during the first operation, enter your account name and password as prompted.Python+selenium

Python+selenium Automated Software Testing (16th): Basic Combat (3)

() self.browser.find_element_by_id ("xxxxx"). Send_keys (SELF.ONIGINLP) self.browser.find_element_by_class_name ("saddd"). Click () self.browser.implicitly_wait (3) #there are some problems.Self.browser.find_element_by_name ("XXX"). Send_keys ("xxxx") Self.browser.find_element_by_name ("xxxx"). Send_keys ("XXX") Self.browser.find_element_by_link_text ("xxxx"). Click () self.browser.find_element_by_link_text ("XXX"). Click ()classModify_domain_info (object):def __init__(self):PassTest= Ad

Python+selenium Automated Software Testing (5th): Selenium gird

dictionary to remove the host name and browser name assigned to the following parameters, In this case, the test script will call the local 2 specified browsers and run.3. Then the server is restarted and the corresponding version of Selenium server is downloaded from http://selenium-release.storage.googleapis.com/index.html:After downloading it, open cmd, enter Java-jar selenium-server-standalone-x.xx.x.jar-role hub, this is the root of all evils, start it before you can do the things behind.

Python+selenium Automated Software Testing (14th): Basic Combat (1)

()Time.sleep (2) driver.switch_to_alent (). Accept () def tearDown (self): Self.driver.quit () self.assentequal ([], Self.verifi Cationerrors)if __name__ = = "__name__": #定义一个单元测试容器 testunit=UnitTest. TestSuite () #将测试用例加入到测试容器中 testunit.addtest (Baidu ("Test_baidu_search")) Testunit.addtest (Baidu ("Test_baidu_set") ) #定义个报告存放路径, supports relative path filename= R'C:\Users\Administnator\Desktop\selenium_file\result.html'FP= File (filename,'WB') #定义测试报告 Runner= Htmltestrunner.htmltestrunner (st

Python+selenium Automated Software Testing (12th): Python reads and writes XML documents

document and parse it with the parse methodXML =minidom.parse (filename)#Get root nodeRoot =xml.documentelement#get all element nodes below the root node #More methods can refer to the content of W3school or with Dir (root) to obtainelements = Root.getelementsbytagname ('element') #traversal processing, elements is a list forElementinchelements:#determine if there is an id attribute ifElement.hasattribute ('ID'): #you can not add the above judgment, if the property is not fo

Summary of qtp automated software testing framework

It is found that writing automated test scripts is not difficult. What is difficult is that you cannot find the direction of the test framework. Without a good test framework, the written test scripts are very difficult to maintain, if the software interface or function changes slightly, there will be great changes. I found a framework that is very good. I personally think that my current understanding of

Automated Testing with python-unit testing for Java code (1) and python Unit Testing

self.assertEquals(unique,False) def test_max(self): self.assertEquals(Math.max(8,5),8) def tearDown(self): print "cost", time.time()-self.start_time," second" print "end"Run the unit test and the result is Finding files... done. Importing test modules... done. Starting Cost 0.000999927520752 second End Starting Cost 1.85600018501 second End ---------------------------------------------------------------------- Ran 2 tests in 2.043 s OK What too

Android automated testing (1) concept of Android automated testing principles and Android principles

Android automated testing (1) concept of Android automated testing principles and Android principles I. First, let's talk about the principle of automated mobile phone testing.1. The principle of mobile phone

Automated test: Is it really silver bullet? _ Automated Testing

Turn from: https://www.ibm.com/developerworks/cn/rational/r-testing-automation/ Brief introduction Frederick p. Brooks, Jr. In 1986, wrote an article entitled "No Silver Bullet: the fundamental and secondary issues of software Engineering" (No Silver bullet-essence and accidents of Software Engineer ing). This article lists some of the expectations of the devel

Use python for automated testing-automated testing on the server (3)-more http client instances and pythonclient

Use python for automated testing-automated testing on the server (3)-more http client instances and pythonclient In the previous article, we only implemented a simple http client function. The request also provides various functions such as keep alive, SSL, multi-File Upload, cookie management, and http requests header

Automated Testing (V): Automated testing Framework

(NUM2)Window ("Calculator"). Winbutton ("="). ClickActual_result = window ("calculator"). Winedit ("Edit"). Getroproperty ("text")actual = Trim (Actual_result)arr = Split (Actual, ".")If arr (0) = Trim (Expect_result) ThenCalculation = "Pass"ElseCalculation = "Fail"End IfEnd Function' Reporting functionsFunction Writetestreport (ByVal filepath, ByVal str)Dim FSO, filSet fso = CreateObject ("Scripting.FileSystemObject")Set fil = fso.opentextfile (filepath, 2, True)Fil. Write StrFil.closeSet fil

Misunderstanding of automated testing and benefits of Automated Testing

Misconceptions of automated testing • An automated test tool will replace the human factor necessary for testing. • you will achieve 100% of application tests automatic. • automated testing will immediately minimize the test sched

Android automated testing (3) & lt; monkeyrunner & gt; search for objects by ID & amp; touch & amp; type (python), android Automated Testing

Android automated testing (3) I used java in the previous two articles to implement Android automated testing (1) how to install and uninstall an application (java) and Android automated testing (2) search for objects (java) by I

Total Pages: 15 1 2 3 4 5 6 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.