Click here to Skip to main content
14,540,465 members

Application Lifecycle

 
QuestionC++ Design Patterns Pin
msr_codeproject28-Oct-10 19:36
Membermsr_codeproject28-Oct-10 19:36 
AnswerRe: C++ Design Patterns Pin
Pete O'Hanlon28-Oct-10 19:43
subeditorPete O'Hanlon28-Oct-10 19:43 
AnswerRe: C++ Design Patterns Pin
ShilpiP7-Nov-10 21:59
MemberShilpiP7-Nov-10 21:59 
AnswerRe: C++ Design Patterns Pin
Alain Rist8-Nov-10 0:00
MemberAlain Rist8-Nov-10 0:00 
AnswerRe: C++ Design Patterns Pin
yu-jian8-Nov-10 19:01
Memberyu-jian8-Nov-10 19:01 
AnswerRe: C++ Design Patterns Pin
TweakBird15-Nov-10 19:12
MemberTweakBird15-Nov-10 19:12 
QuestionWhat to do in case UI control has been removed from the form? Pin
Tesic Goran4-Oct-10 0:13
professionalTesic Goran4-Oct-10 0:13 
AnswerRe: What to do in case UI control has been removed from the form? Pin
Eddy Vluggen17-Nov-10 8:02
professionalEddy Vluggen17-Nov-10 8:02 
Tesic Goran wrote:
But, what to do in efficient manner if we have, for example, 1000+ coded UI tests and if changes affected a lot of forms? How can we find the changes on many forms programmatically in order to get the information of significant changes earlier and not to execute the tests where these significant changes occurred?

Using reflection. Load the assembly, enumerate all forms, enumerate all components on those forms. You can then write all the names of the controls into a database-table, along with a date. You could add other properties too, might be easier to decorate them with a custom attribute.

When validating changes, loop the controls again and compare them to the values in the database. Count how many things have changed, and drop all tests scoring more than a previously defined threshold.

Or, ask the developers to mark the forms' that they've been modifying extensively.
I are Troll Suspicious | :suss:

GeneralRe: What to do in case UI control has been removed from the form? Pin
Tesic Goran17-Nov-10 19:57
professionalTesic Goran17-Nov-10 19:57 
QuestionI Can't Believe That No One Is Interested In This Forum! PinPopular
Roger Wright2-Aug-10 18:48
professionalRoger Wright2-Aug-10 18:48 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Richard MacCutchan2-Aug-10 22:15
mveRichard MacCutchan2-Aug-10 22:15 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Kunal Chowdhury «IN»8-Sep-10 2:27
professionalKunal Chowdhury «IN»8-Sep-10 2:27 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
yu-jian10-Nov-10 20:45
Memberyu-jian10-Nov-10 20:45 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
TweakBird15-Nov-10 19:14
MemberTweakBird15-Nov-10 19:14 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Prasanta_Prince11-May-11 1:09
MemberPrasanta_Prince11-May-11 1:09 
Questionproject Pin
abhay_korat1-Aug-10 3:29
professionalabhay_korat1-Aug-10 3:29 
AnswerRe: project Pin
Ray Cassick2-Aug-10 13:03
MemberRay Cassick2-Aug-10 13:03 
QuestionCOOL! I get to be the first! Pin
Ray Cassick27-Jul-10 15:44
MemberRay Cassick27-Jul-10 15:44 
AnswerRe: COOL! I get to be the first! Pin
Ray Cassick30-Jul-10 16:29
MemberRay Cassick30-Jul-10 16:29 
GeneralRe: COOL! I get to be the first! Pin
Pete O'Hanlon30-Jul-10 22:41
subeditorPete O'Hanlon30-Jul-10 22:41 
GeneralRe: COOL! I get to be the first! Pin
_Damian S_2-Aug-10 20:14
professional_Damian S_2-Aug-10 20:14 
GeneralRe: COOL! I get to be the first! Pin
Pete O'Hanlon2-Aug-10 21:38
subeditorPete O'Hanlon2-Aug-10 21:38 
AnswerRe: COOL! I get to be the first! Pin
Pete O'Hanlon3-Aug-10 9:07
subeditorPete O'Hanlon3-Aug-10 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.