Click here to Skip to main content
12,621,107 members (35,209 online)
   

C#

 
AnswerRe: Missing TCP Packets Pin
Dave Kreskowiak16-Aug-14 5:29
mvpDave Kreskowiak16-Aug-14 5:29 
GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 20:54
memberM Riaz Bashir16-Aug-14 20:54 
AnswerRe: Missing TCP Packets Pin
Rob Philpott16-Aug-14 7:34
professionalRob Philpott16-Aug-14 7:34 
GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 20:54
memberM Riaz Bashir16-Aug-14 20:54 
QuestionThread Freeze when trying Abort Pin
Member 1098515215-Aug-14 13:17
memberMember 1098515215-Aug-14 13:17 
GeneralRe: Thread Freeze when trying Abort Pin
PIEBALDconsult15-Aug-14 13:47
memberPIEBALDconsult15-Aug-14 13:47 
QuestionSummary Report in GridView Pin
sk_ko14-Aug-14 23:02
membersk_ko14-Aug-14 23:02 
AnswerRe: Summary Report in GridView Pin
Chris Quinn14-Aug-14 23:36
memberChris Quinn14-Aug-14 23:36 
AnswerRe: Summary Report in GridView Pin
Mycroft Holmes15-Aug-14 0:00
professionalMycroft Holmes15-Aug-14 0:00 
GeneralScope of Share point and Silverlight Pin
Member 1059394814-Aug-14 4:40
memberMember 1059394814-Aug-14 4:40 
GeneralRe: Scope of Share point and Silverlight Pin
Richard MacCutchan14-Aug-14 5:22
protectorRichard MacCutchan14-Aug-14 5:22 
Questionhow do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
Member 1050484913-Aug-14 10:02
memberMember 1050484913-Aug-14 10:02 
SuggestionRe: how do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
RyanDev13-Aug-14 10:24
mvpRyanDev13-Aug-14 10:24 
QuestionHow to increment div count in path Pin
Member 1098388513-Aug-14 7:09
memberMember 1098388513-Aug-14 7:09 
I am testing a communicator frame where I have blocks of message contents which are pulled from database using visual studio telerik framework.

each message in database represents a Div on the UI.
each div has path something like
`
Pages.CareMechanix.FrameCommunicator.DOBDiv
   Pages.CareMechanix.FrameCommunicator.DOBDiv0
   Pages.CareMechanix.FrameCommunicator.DOBDiv1
   Pages.CareMechanix.FrameCommunicator.DOBDiv2
`

I am getting the number of divs by `Pages.CareMechanix.FrameCommunicator.Find.AllByAttributes("class=cm-alert").Count;`

I am verifying if the number of messages in database is equal to number of divs.

In similar way, I want to verify the content in each div content is equal to corresponding message in database.

I would definitely not want to access each div content separately by path like below:

`Pages.CareMechanix0.FrameCommunicator.**DOBDiv**.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Contains, "| DOB: 00/27/1974" + "Patient ID: " + PatientID + sub);
 
    Pages.CareMechanix0.FrameCommunicator.**DOBDiv0**.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Contains, "| DOB: 00/27/1974" + "Patient ID: " + PatientID + sub);
 
    Pages.CareMechanix0.FrameCommunicator.**DOBDiv1**.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Contains, "| DOB: 00/27/1974" + "Patient ID: " + PatientID + sub);`

I would like to run a loop for the count to verify the text content.
**I am not sure of how to get each div content using a loop.**

Can someone please help me on this?

Please let me know if I am not clear anywhere.
I can explain.
Questionc# Play Video Fullscreen Pin
Member 416962813-Aug-14 6:20
memberMember 416962813-Aug-14 6:20 
AnswerRe: c# Play Video Fullscreen Pin
Simon_Whale13-Aug-14 6:41
professionalSimon_Whale13-Aug-14 6:41 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 6:53
memberMember 416962813-Aug-14 6:53 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 7:05
mvpDave Kreskowiak13-Aug-14 7:05 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 9:42
memberMember 416962813-Aug-14 9:42 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 13:27
mvpDave Kreskowiak13-Aug-14 13:27 
GeneralRe: c# Play Video Fullscreen Pin
Bernhard Hiller13-Aug-14 22:48
professionalBernhard Hiller13-Aug-14 22:48 
Question[CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Member 1062093513-Aug-14 5:17
memberMember 1062093513-Aug-14 5:17 
SuggestionRe: [CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Richard Deeming13-Aug-14 5:57
professionalRichard Deeming13-Aug-14 5:57 
GeneralRe: [CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Member 1062093513-Aug-14 21:02
memberMember 1062093513-Aug-14 21:02 
QuestionRegarding the usage of generic in real life Pin
Tridip Bhattacharjee12-Aug-14 22:20
memberTridip Bhattacharjee12-Aug-14 22:20 
AnswerRe: Regarding the usage of generic in real life Pin
Manfred R. Bihy12-Aug-14 22:51
memberManfred R. Bihy12-Aug-14 22:51 
GeneralRe: Regarding the usage of generic in real life Pin
Tridip Bhattacharjee13-Aug-14 0:18
memberTridip Bhattacharjee13-Aug-14 0:18 
GeneralRe: Regarding the usage of generic in real life Pin
Debabrata TPX13-Aug-14 0:49
memberDebabrata TPX13-Aug-14 0:49 
GeneralRe: Regarding the usage of generic in real life Pin
Tridip Bhattacharjee13-Aug-14 22:25
memberTridip Bhattacharjee13-Aug-14 22:25 
GeneralRe: Regarding the usage of generic in real life Pin
Pete O'Hanlon13-Aug-14 22:46
protectorPete O'Hanlon13-Aug-14 22:46 
GeneralRe: Regarding the usage of generic in real life Pin
Pete O'Hanlon13-Aug-14 0:50
protectorPete O'Hanlon13-Aug-14 0:50 
QuestionHow to remove escape sequece from string while telnet to HP procurve devices Pin
superselector12-Aug-14 20:17
membersuperselector12-Aug-14 20:17 
AnswerRe: How to remove escape sequece from string while telnet to HP procurve devices Pin
OriginalGriff12-Aug-14 21:57
protectorOriginalGriff12-Aug-14 21:57 
AnswerRe: How to remove escape sequece from string while telnet to HP procurve devices Pin
OriginalGriff13-Aug-14 2:25
protectorOriginalGriff13-Aug-14 2:25 
GeneralRe: How to remove escape sequece from string while telnet to HP procurve devices Pin
superselector13-Aug-14 23:52
membersuperselector13-Aug-14 23:52 
GeneralRe: How to remove escape sequece from string while telnet to HP procurve devices Pin
OriginalGriff14-Aug-14 0:01
protectorOriginalGriff14-Aug-14 0:01 
AnswerRe: How to remove escape sequece from string while telnet to HP procurve devices Pin
Member 1028463313-Aug-14 3:22
memberMember 1028463313-Aug-14 3:22 
QuestionC# Creating Setup Problem Pin
Member 1094435912-Aug-14 0:16
memberMember 1094435912-Aug-14 0:16 
AnswerRe: C# Creating Setup Problem Pin
Dave Kreskowiak12-Aug-14 3:44
mvpDave Kreskowiak12-Aug-14 3:44 
GeneralRe: C# Creating Setup Problem Pin
Member 1094435912-Aug-14 4:50
memberMember 1094435912-Aug-14 4:50 
GeneralRe: C# Creating Setup Problem Pin
Dave Kreskowiak12-Aug-14 4:54
mvpDave Kreskowiak12-Aug-14 4:54 
Questionc#.net Pin
naralasaimanoj11-Aug-14 18:36
membernaralasaimanoj11-Aug-14 18:36 
AnswerRe: c#.net Pin
Dave Kreskowiak11-Aug-14 19:06
mvpDave Kreskowiak11-Aug-14 19:06 
AnswerRe: c#.net Pin
Pete O'Hanlon11-Aug-14 21:14
protectorPete O'Hanlon11-Aug-14 21:14 
AnswerRe: c#.net - Use MSI Package installer Pin
Swinkaran11-Aug-14 22:04
memberSwinkaran11-Aug-14 22:04 
AnswerRe: c#.net Pin
V.12-Aug-14 1:18
professionalV.12-Aug-14 1:18 
GeneralRe: c#.net Pin
OriginalGriff12-Aug-14 1:22
protectorOriginalGriff12-Aug-14 1:22 
GeneralRe: c#.net Pin
Richard Deeming12-Aug-14 3:26
professionalRichard Deeming12-Aug-14 3:26 
GeneralRe: c#.net Pin
OriginalGriff12-Aug-14 3:32
protectorOriginalGriff12-Aug-14 3:32 
QuestionC# Tutor, Sunshine Coast, Qld, Australia. Pin
Kenny__K11-Aug-14 14:43
memberKenny__K11-Aug-14 14:43 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.161128.1 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid