Software Test Automation
The place where we can see the thoughts and experiences on Software Test Automation which will help our professional development.
A small attempt to share our thoughts and experiences on Software Test Automation. As we know that the only thing in the world which will be improved by sharing with others is Knowledge.
08/06/2016
http://productiveautomationtesting.blogspot.in/2016/06/specflow-create-first-test.html
Productive Automation Testing: Specflow - Create First Test A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/2016/03/integrating-git-with-jenkins.html
Productive Automation Testing: Integrating Git with Jenkins A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/2016/01/how-to-switch-between-angular-page-and.html
Productive Automation Testing: How to switch between Angular page and Iframe in Protractor A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/2016/01/how-to-select-item-in-list-in-protractor.html
Productive Automation Testing: How to select an item in a list in Protractor A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/2016/01/capybara-brief-introduction.html
Productive Automation Testing: Capybara brief introduction A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/
Productive Automation Testing A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
http://productiveautomationtesting.blogspot.in/2016/01/test-blog-title.html
Productive Automation Testing: Protractor: Default Test Frameworks in Protractor v3 A blog to share knowledge and solutions to the problems that we commonly face in Test Automation using different tools/frameworks like Protractor.js, Nightwatch.js, QTP, Coded UI etc.
How do we create a new test object(with the properties defined by user)and add it to the
object repository using the Mercury.ObjectRepositoryUtil class.
The below code i have written is not working at the time of ObjRep.AddObject BrowserDesc,Null,"Browser1" statment.
Dim ObjRep = CreateObject("Mercury.ObjectRepositoryUtil")
ObjRep.load "C:\sampleRep.tsr"
set BrowserDesc= Description.Create()
BrowserDesc("Class Name") = "Browser"
ObjRep.AddObject BrowserDesc,Null,"Browser1"
ObjRep.save
How about Automating window application with White framework?
White framework is part of .NET framework which will allow us to write automation code in C #.
Stay tuned.... will get more updates....
13/08/2012
Attended and Unattended Testing:
Attended and Unattended Testing Part 3 – Testing Evolution Series: I would like to pose a question to the reader, is automated testing truly effective if you have someone wat…
VB Script for creating Chart in Excel:
-----------------------------------------
Dim oExl,oWrkbk,oWrkst,oMychart
Set oExl=CreateObject("Excel.Application")
With oExl
.Visible=True
End With
Set oWrkbk=oExl.Workbooks.Add()
Set oWrkst=oWrkbk.Worksheets(1)
With oWrkst
.Cells(1,1)="Critical"
.Cells(2,1)="Very Serious"
.Cells(3,1)="Serious"
.Cells(4,1)="Moderate"
.Cells(5,1)="Mild"
.Cells(1,2)="Bugs Severity"
For i=2 to 5
.Cells(i,2)=i+21
If i>4 Then
.Cells(5,2)=9
End If
Next
End With
Set oRange=oWrkst.UsedRange
oRange.Select
Set oChart=oExl.charts
oChart.Add()
Set oMychart=oChart(1)
oMychart.Activate
oMychart.ChartType=5
oMychart.ApplyDataLabels 5
oMychart.PlotArea.Fill.Visible=False
oMychart.PlotArea.Border.LineStyle=-4142
oMychart.SeriesCollection(1).DataLabels.Font.Size=15
oMychart.SeriesCollection(1).DataLabels.Font.ColorIndex=2
oMychart.ChartArea.Fill.Forecolor.SchemeColor=49
oMychart.ChartArea.Fill.Backcolor.SchemeColor=14
oMychart.ChartArea.Fill.TwoColorGradient 1,1
oMychart.ChartTitle.Font.Size=20
oMychart.ChartTitle.Font.ColorIndex=4
Set oExl=Nothing
If err.number0 then
Msgbox "error occurred while drawing..."
Msgbox err.Description
Else
Msgbox "Successfully drawn"
End If
VB Script Function for returning multiple values:
-------------------------------------------------------
'Write a function to verify the state(enabled / disabled) of Update Order Button in Flight Reservation Window
'(Condition1: Before open an Order "Update Order" Button should be Disabled)
'(Condition2: After Open an Order "Update Order" Button should be Enabled)
'-------------------------------------------------------------------------
Function UpdateButton_State()
Window("Flight Reservation").Activate
Before_Open=Window("Flight Reservation").WinButton("Update Order").GetROProperty("enabled")
If Before_Open= False Then
Verify1= "Update Order Button Disabled"
Else
Verify1= "Update Order Button Enabled"
End If
Window("Flight Reservation").WinButton("Button").Click
Window("Flight Reservation").Dialog("Open Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit("Edit").Set "1"
Window("Flight Reservation").Dialog("Open Order").WinButton("OK").Click
Window("Flight Reservation").WinButton("Update Order").Click
After_Open=Window("Flight Reservation").WinButton("Update Order").GetROProperty("enabled")
If After_Open = True Then
Verify2= "Update Order Button Enabled"
Else
Verify2= "Update Order Button Disabled"
End If
UpdateButton_State=Array (Verify1, Verify2)
End Function
------------------------------------------------------
Result=UpdateButton_State()
Msgbox Result(0)
Msgbox Result(1)
Click here to claim your Sponsored Listing.