Click here to Skip to main content
15,499,289 members
Home / Discussions / C#
   

C#

 
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
mveRichard 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
ZurdoDev13-Aug-14 10:24
professionalZurdoDev13-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
mveDave 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
mveDave Kreskowiak13-Aug-14 13:27 
GeneralRe: c# Play Video Fullscreen Pin
Bernhard Hiller13-Aug-14 22:48
MemberBernhard 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
mveRichard 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
professionalTridip Bhattacharjee12-Aug-14 22:20 
AnswerRe: Regarding the usage of generic in real life Pin
Manfred Rudolf Bihy12-Aug-14 22:51
professionalManfred Rudolf Bihy12-Aug-14 22:51 
GeneralRe: Regarding the usage of generic in real life Pin
Tridip Bhattacharjee13-Aug-14 0:18
professionalTridip 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
professionalTridip Bhattacharjee13-Aug-14 22:25 
GeneralRe: Regarding the usage of generic in real life Pin
Pete O'Hanlon13-Aug-14 22:46
mvaPete O'Hanlon13-Aug-14 22:46 
GeneralRe: Regarding the usage of generic in real life Pin
Pete O'Hanlon13-Aug-14 0:50
mvaPete O'Hanlon13-Aug-14 0:50 

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.